Sha256: 67b24261fcc92e7cf603215d5646aff576050c54053381e3e6661ebcabe73619
Contents?: true
Size: 526 Bytes
Versions: 15
Compression:
Stored size: 526 Bytes
Contents
module Ardm module Fixtures class NetworkNode < Ardm::Record self.table_name = "network_nodes" property :id, Serial property :ip_address, IPAddress property :cidr_subnet_bits, Integer property :node_uuid, UUID alias_method :uuid, :node_uuid alias_method :uuid=, :node_uuid= def runs_ipv6? self.ip_address.ipv6? end def runs_ipv4? self.ip_address.ipv4? end end # NetworkNode end # Fixtures end # Ardm
Version data entries
15 entries across 15 versions & 1 rubygems