lib/infoblox/resource/host.rb in infoblox-0.2.6 vs lib/infoblox/resource/host.rb in infoblox-0.2.7

- old
+ new

@@ -5,15 +5,15 @@ wapi_object "record:host" def ipv4addrs=(attrs=[]) attrs.each do |att| - ipv4addrs << Ipv4addr.new(att) + ipv4addrs << HostIpv4addr.new(att) end end def add_ipv4addr(address) - ipv4addrs << Ipv4addr.new(:ipv4addr => address) + ipv4addrs << HostIpv4addr.new(:ipv4addr => address) end def ipv4addrs @ipv4addrs ||= [] end