Class: ZendeskAPI::Request::Comment
- Inherits:
-
DataResource
- Object
- Data
- DataResource
- ZendeskAPI::Request::Comment
- Includes:
- Save
- Defined in:
- lib/zendesk_api/resources.rb
Instance Attribute Summary
Attributes inherited from DataResource
Attributes inherited from Data
#association, #attributes, #errors, #response
Instance Method Summary collapse
- #save ⇒ Object (also: #save!)
Methods included from Save
#clear_associations, #save_associations
Methods included from ZendeskAPI::ResponseHandler
Methods inherited from DataResource
Methods included from Verbs
Methods inherited from Data
#==, #attributes_for_save, #id, inherited, #initialize, #loaded_associations, #method_missing, namespace, new_from_response, #new_record?, #path, 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
Instance Method Details
#save ⇒ Object Also known as: save!
400 401 402 403 404 405 406 407 |
# File 'lib/zendesk_api/resources.rb', line 400 def save if new_record? save_associations true else false end end |