lib/infoblox/resource/ptr.rb in infoblox-1.0.0 vs lib/infoblox/resource/ptr.rb in infoblox-1.0.1

- old
+ new

@@ -9,9 +9,17 @@ :ttl, :extattrs, :extensible_attributes, :view + def self._return_fields + if Infoblox.wapi_version == '1.0' + super.split(",").find_all{|f| f != 'ipv6addr'}.join(",") + else + super + end + end + remote_attr_reader :zone wapi_object "record:ptr" end end