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 inherited from DataResource
Methods included from ZendeskAPI::Verbs
Methods inherited from Data
#==, #account_data, #attributes_for_save, #id, inherited, #initialize, #inspect, #loaded_associations, #method_missing, namespace, new_from_response, #path, #refresh_custom_fields_metadata, resource_name, resource_path, #respond_to_missing?, 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
1022 1023 1024 1025 1026 |
# File 'lib/zendesk_api/resources.rb', line 1022 def self.display!(client, ) new(client, ).tap do |resource| resource.save!(path: "#{resource.path}/display") end end |
Instance Method Details
#new_record? ⇒ Boolean
1018 1019 1020 |
# File 'lib/zendesk_api/resources.rb', line 1018 def new_record? true end |