lib/infoblox/resource/host.rb in infoblox-0.2.3 vs lib/infoblox/resource/host.rb in infoblox-0.2.4
- old
+ new
@@ -1,10 +1,9 @@
module Infoblox
class Host < Resource
remote_attr_accessor :ipv4addrs, :name, :configure_for_dns,
- :extensible_attributes
- attr_accessor :view
+ :extensible_attributes, :view
wapi_object "record:host"
def ipv4addrs=(attrs=[])
attrs.each do |att|
@@ -24,6 +23,6 @@
super.tap do |hsh|
hsh[:ipv4addrs] = ipv4addrs.map{|i| {:ipv4addr => i.ipv4addr}}
end
end
end
-end
\ No newline at end of file
+end