Class: Infoblox::Host
Instance Attribute Summary collapse
-
#view ⇒ Object
Returns the value of attribute view.
Attributes inherited from Resource
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
#view ⇒ Object
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 |