Class: Infoblox::Ptr

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

Instance Attribute Summary

Attributes inherited from Resource

#_ref, #connection

Class Method Summary collapse

Methods inherited from Resource

all, default_params, #delete, find, #get, #initialize, #post, #put, remote_attr_accessor, remote_attr_reader, remote_attr_writer, #remote_attribute_hash, remote_attrs, remote_post_accessor, remote_post_attrs, remote_read_only_attrs, remote_write_only_attrs, resource_map, resource_uri, #resource_uri, wapi_object

Constructor Details

This class inherits a constructor from Infoblox::Resource

Class Method Details

._return_fieldsObject



14
15
16
17
18
19
20
# File 'lib/infoblox/resource/ptr.rb', line 14

def self._return_fields
  if Infoblox.wapi_version == '1.0'
    super.split(",").find_all{|f| f != 'ipv6addr'}.join(",")
  else
    super
  end
end