Class: Ronin::DB::OrganizationHostName

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Model
Defined in:
lib/ronin/db/organization_host_name.rb

Overview

Represents an association between an Organization and a HostName.

Since:

  • 0.2.0

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included

Instance Attribute Details

#created_atTime (readonly)

Tracks when the organization claimed ownership of the host name.

Returns:

  • (Time)


58
# File 'lib/ronin/db/organization_host_name.rb', line 58

attribute :created_at, :datetime

#host_nameHostName

The host name that the organization owns.

Returns:



52
# File 'lib/ronin/db/organization_host_name.rb', line 52

belongs_to :host_name

#idInteger

Primary key of the organization

Returns:

  • (Integer)


40
# File 'lib/ronin/db/organization_host_name.rb', line 40

attribute :id, :integer

#organizationOrganization

The organization that owns the host name.

Returns:



46
# File 'lib/ronin/db/organization_host_name.rb', line 46

belongs_to :organization