Class: Ronin::DB::HostNameIPAddress
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ronin::DB::HostNameIPAddress
- Includes:
- Model
- Defined in:
- lib/ronin/db/host_name_ip_address.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
Tracks when a IP Address is associated with a host name.
-
#host_name ⇒ HostName
The host name pointing to the IP Address.
-
#id ⇒ Integer
The primary-key of the join model.
-
#ip_address ⇒ IPAddress
The associated IP address.
Method Summary
Methods included from Model
Instance Attribute Details
#created_at ⇒ Time
Tracks when a IP Address is associated with a host name
61 |
# File 'lib/ronin/db/host_name_ip_address.rb', line 61 attribute :created_at, :datetime |
#host_name ⇒ HostName
The host name pointing to the IP Address
46 47 |
# File 'lib/ronin/db/host_name_ip_address.rb', line 46 belongs_to :host_name, required: true, inverse_of: :host_name_ip_addresses |
#id ⇒ Integer
The primary-key of the join model.
40 |
# File 'lib/ronin/db/host_name_ip_address.rb', line 40 attribute :id, :integer |
#ip_address ⇒ IPAddress
The associated IP address.
53 54 55 |
# File 'lib/ronin/db/host_name_ip_address.rb', line 53 belongs_to :ip_address, required: true, inverse_of: :host_name_ip_addresses, class_name: 'IPAddress' |