lib/ronin/mac_address.rb in ronin-1.0.0.rc3 vs lib/ronin/mac_address.rb in ronin-1.0.0

- old
+ new

@@ -27,9 +27,14 @@ # # Represents MAC addresses that can be stored in the {Database}. # class MACAddress < Address + # The MAC address + property :address, String, :length => 17..17, + :required => true, + :unique => true + # The IP Addresses the MAC Address hosts has 0..n, :ip_address_mac_addresses, :model => 'IPAddressMACAddress' # The IP Addresses associated with the MAC Address has 0..n, :ip_addresses, :through => :ip_address_mac_addresses,