Class: Infoblox::Host

Inherits:
Resource show all
Defined in:
lib/infoblox/host.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#_ref

Instance Method Summary collapse

Methods inherited from Resource

all, connection, connection=, #create, #delete, find, #initialize, remote_attr_accessor, remote_attrs, resource_uri, #resource_uri, wapi_object

Constructor Details

This class inherits a constructor from Infoblox::Resource

Instance Attribute Details

#viewObject

Returns the value of attribute view.



4
5
6
# File 'lib/infoblox/host.rb', line 4

def view
  @view
end

Instance Method Details

#add_ipv4addr(address) ⇒ Object



8
9
10
11
# File 'lib/infoblox/host.rb', line 8

def add_ipv4addr(address)
  @ipv4addrs ||= []
  @ipv4addrs << {:ipv4addr => address}
end