Class: NetboxClientRuby::IPAM::IpRangeStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/netbox_client_ruby/api/ipam/ip_range.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_data) ⇒ IpRangeStatus

Returns a new instance of IpRangeStatus.



29
30
31
32
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 29

def initialize(raw_data)
  @value = raw_data['value']
  @label = raw_data['label']
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



27
28
29
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 27

def label
  @label
end

#valueObject (readonly)

Returns the value of attribute value.



27
28
29
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 27

def value
  @value
end