Class: ZendeskAPI::View
- Inherits:
-
Resource
- Object
- Data
- DataResource
- Resource
- ZendeskAPI::View
- Defined in:
- lib/zendesk_api/resources.rb
Instance Attribute Summary
Attributes inherited from DataResource
Attributes inherited from Data
#association, #attributes, #response
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (ZendeskAPI::RuleExecution) execution
The associated object.
-
- (ZendeskAPI::RuleExecution) execution=(value)
The associated object.
-
- (ZendeskAPI::Ticket) feed(options = {})
The associated object.
-
- (ZendeskAPI::Ticket) feed=(value)
The associated object.
-
- (ZendeskAPI::ViewRow) rows(options = {})
The associated object.
-
- (ZendeskAPI::ViewRow) rows=(value)
The associated object.
-
- (ZendeskAPI::Ticket) tickets(options = {})
The associated object.
-
- (ZendeskAPI::Ticket) tickets=(value)
The associated object.
-
- (ZendeskAPI::ViewCount) view_count
The associated object.
-
- (ZendeskAPI::ViewCount) view_count=(value)
The associated object.
Methods included from Read
Methods included from Destroy
Methods included from Save
#clear_associations, #save, #save!, #save_associations
Methods included from Verbs
Methods inherited from Data
#/, #==, format, #id, #initialize, #method_missing, #new_record?, #path, resource_name, singular_resource_name, subclasses, #to_json
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
+ (Object) preview(client, options = {})
293 294 295 |
# File 'lib/zendesk_api/resources.rb', line 293 def self.preview(client, = {}) Collection.new(client, ViewRow, .merge(:path => "views/preview", :verb => :post)) end |
Instance Method Details
- (ZendeskAPI::RuleExecution) execution
The associated object
290 |
# File 'lib/zendesk_api/resources.rb', line 290 has :execution, :class => RuleExecution |
- (ZendeskAPI::RuleExecution) execution=(value)
The associated object
290 |
# File 'lib/zendesk_api/resources.rb', line 290 has :execution, :class => RuleExecution |
- (ZendeskAPI::Ticket) feed(options = {})
The associated object
287 |
# File 'lib/zendesk_api/resources.rb', line 287 has_many :feed, :class => Ticket, :path => "feed" |
- (ZendeskAPI::Ticket) feed=(value)
The associated object
287 |
# File 'lib/zendesk_api/resources.rb', line 287 has_many :feed, :class => Ticket, :path => "feed" |
- (ZendeskAPI::ViewRow) rows(options = {})
The associated object
289 |
# File 'lib/zendesk_api/resources.rb', line 289 has_many :rows, :class => ViewRow, :path => "execute" |
- (ZendeskAPI::ViewRow) rows=(value)
The associated object
289 |
# File 'lib/zendesk_api/resources.rb', line 289 has_many :rows, :class => ViewRow, :path => "execute" |
- (ZendeskAPI::Ticket) tickets(options = {})
The associated object
286 |
# File 'lib/zendesk_api/resources.rb', line 286 has_many :tickets, :class => Ticket |
- (ZendeskAPI::Ticket) tickets=(value)
The associated object
286 |
# File 'lib/zendesk_api/resources.rb', line 286 has_many :tickets, :class => Ticket |
- (ZendeskAPI::ViewCount) view_count
The associated object
291 |
# File 'lib/zendesk_api/resources.rb', line 291 has ViewCount, :path => "count" |
- (ZendeskAPI::ViewCount) view_count=(value)
The associated object
291 |
# File 'lib/zendesk_api/resources.rb', line 291 has ViewCount, :path => "count" |