Class: ZendeskAPI::Voice::Agent::Ticket
- Inherits:
-
CreateResource
- Object
- Data
- DataResource
- CreateResource
- ZendeskAPI::Voice::Agent::Ticket
- Defined in:
- lib/zendesk_api/resources.rb
Instance Attribute Summary
Attributes inherited from DataResource
Attributes inherited from Data
#association, #attributes, #errors, #response
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Create
Methods included from Save
#clear_associations, #save, #save!, #save_associations
Methods included from ResponseHandler
Methods included from ZendeskAPI::Verbs
Methods inherited from Data
#==, #id, inherited, #initialize, #loaded_associations, #method_missing, namespace, new_from_response, #path, resource_name, resource_path, singular_resource_name, subclasses, #to_json, #to_s
Methods included from Associations
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
.display!(client, options) ⇒ Object
833 834 835 836 837 |
# File 'lib/zendesk_api/resources.rb', line 833 def self.display!(client, ) new(client, ).tap do |resource| resource.save!(path: resource.path + '/display') end end |
Instance Method Details
#new_record? ⇒ Boolean
829 830 831 |
# File 'lib/zendesk_api/resources.rb', line 829 def new_record? true end |