Class: ZendeskAPI::Search

Inherits:
DataResource show all
Defined in:
lib/zendesk_api/resources/misc.rb

Instance Attribute Summary

Attributes inherited from Data

#association, #attributes

Class Method Summary collapse

Methods included from Verbs

#delete, #post, #put

Methods inherited from Data

#==, #id, #initialize, #method_missing, #new_record?, only_send_unnested_params, #path, singular_resource_name, #to_s, unnested_params

Methods included from Associations

#wrap_resource

Constructor Details

This class inherits a constructor from ZendeskAPI::Data

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ZendeskAPI::Data

Class Method Details

.model_keyObject



62
63
64
# File 'lib/zendesk_api/resources/misc.rb', line 62

def self.model_key
  "results"
end

.resource_nameObject



58
59
60
# File 'lib/zendesk_api/resources/misc.rb', line 58

def self.resource_name
  "search"
end