Class: Ronin::DB::IPAddressMACAddress
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ronin::DB::IPAddressMACAddress
- Includes:
- Model
- Defined in:
- lib/ronin/db/ip_address_mac_address.rb
Overview
Associates an IPAddress with a MACAddress.
Instance Attribute Summary collapse
-
#created_at ⇒ Time
readonly
Tracks when an IP Address becomes associated with a MAC Address.
-
#id ⇒ Integer
The primary-key of the join model.
-
#ip_address ⇒ IPAddress
The IP Address.
-
#mac_address ⇒ MACAddress
The Mac Address.
Method Summary
Methods included from Model
Instance Attribute Details
#created_at ⇒ Time (readonly)
Tracks when an IP Address becomes associated with a MAC Address.
58 |
# File 'lib/ronin/db/ip_address_mac_address.rb', line 58 attribute :created_at, :datetime |
#id ⇒ Integer
The primary-key of the join model.
38 |
# File 'lib/ronin/db/ip_address_mac_address.rb', line 38 attribute :id, :integer |
#ip_address ⇒ IPAddress
The IP Address.
44 45 |
# File 'lib/ronin/db/ip_address_mac_address.rb', line 44 belongs_to :ip_address, required: true, class_name: 'IPAddress' |
#mac_address ⇒ MACAddress
The Mac Address.
51 52 |
# File 'lib/ronin/db/ip_address_mac_address.rb', line 51 belongs_to :mac_address, required: true, class_name: 'MACAddress' |