Class: Ronin::DB::OrganizationIPAddress
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ronin::DB::OrganizationIPAddress
- Includes:
- Model
- Defined in:
- lib/ronin/db/organization_ip_address.rb
Overview
Represents an association between an Organization and a IPAddress.
Instance Attribute Summary collapse
-
#created_at ⇒ Time
readonly
Tracks when the organization claimed ownership of the IP address.
-
#id ⇒ Integer
Primary key of the organization IP address.
-
#ip_address ⇒ IPAddress
The IP address that the organization owns.
-
#organization ⇒ Organization
The organization that owns the IP address.
Method Summary
Methods included from Model
Instance Attribute Details
#created_at ⇒ Time (readonly)
Tracks when the organization claimed ownership of the IP address.
58 |
# File 'lib/ronin/db/organization_ip_address.rb', line 58 attribute :created_at, :datetime |
#id ⇒ Integer
Primary key of the organization IP address.
40 |
# File 'lib/ronin/db/organization_ip_address.rb', line 40 attribute :id, :integer |
#ip_address ⇒ IPAddress
The IP address that the organization owns.
52 |
# File 'lib/ronin/db/organization_ip_address.rb', line 52 belongs_to :ip_address, class_name: 'IPAddress' |
#organization ⇒ Organization
The organization that owns the IP address.
46 |
# File 'lib/ronin/db/organization_ip_address.rb', line 46 belongs_to :organization |