Class: ZendeskAPI::DataResource
- Extended by:
- Verbs
- Defined in:
- lib/zendesk_api/resource.rb
Overview
Indexable resource
Direct Known Subclasses
Ability, AgentAvailability, Article::Label, CreateResource, CustomRole, DeleteResource, OrganizationRelated, PushNotificationDevice, ReadResource, Request::Comment, Resource, Role, Tag, Ticket::Audit, Ticket::Comment, TicketEvent, TicketMetric, TicketRelated, UpdateResource, UserRelated, UserViewRow, ViewCount, ViewRow
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
Attributes inherited from Data
#association, #attributes, #errors, #response
Class Method Summary collapse
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 Attribute Details
#error ⇒ Object
Returns the value of attribute error.
169 170 171 |
# File 'lib/zendesk_api/resource.rb', line 169 def error @error end |
#error_message ⇒ Object
Returns the value of attribute error_message.
169 170 171 |
# File 'lib/zendesk_api/resource.rb', line 169 def @error_message end |
Class Method Details
.cbp_path_regexes ⇒ Object
172 173 174 |
# File 'lib/zendesk_api/resource.rb', line 172 def self.cbp_path_regexes [] end |