Class: ZendeskAPI::View

Inherits:
ReadResource show all
Defined in:
lib/zendesk_api/resources/ticket.rb

Instance Attribute Summary

Attributes inherited from Data

#association, #attributes

Class Method Summary collapse

Methods included from Read

#find

Methods included from Verbs

#delete, #post, #put

Methods inherited from Data

#==, #id, #initialize, #method_missing, #new_record?, only_send_unnested_params, #path, resource_name, 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

.preview(client, options = {}) ⇒ Object



70
71
72
# File 'lib/zendesk_api/resources/ticket.rb', line 70

def self.preview(client, options = {})
  Zendesk::Collection.new(client, ViewRow, options.merge(:path => "views/preview"))
end