Class: ZendeskAPI::AppInstallation
- Inherits:
-
Resource
- Object
- Data
- DataResource
- Resource
- ZendeskAPI::AppInstallation
- Defined in:
- lib/zendesk_api/resources.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#attributes_for_save ⇒ Object
Don't nest attributes.
- #handle_response(response) ⇒ Object
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
.singular_resource_name ⇒ Object
852 853 854 |
# File 'lib/zendesk_api/resources.rb', line 852 def self.singular_resource_name "installation" end |
Instance Method Details
#attributes_for_save ⇒ Object
Don't nest attributes
857 858 859 |
# File 'lib/zendesk_api/resources.rb', line 857 def attributes_for_save attributes.changes end |
#handle_response(response) ⇒ Object
861 862 863 |
# File 'lib/zendesk_api/resources.rb', line 861 def handle_response(response) @attributes.replace(response.body) if response.body end |