Class: ZendeskAPI::DataResource

Inherits:
Data
  • Object
show all
Extended by:
Verbs
Defined in:
lib/zendesk_api/resource.rb

Overview

Indexable resource

Instance Attribute Summary collapse

Attributes inherited from Data

#association, #attributes, #errors, #response

Method Summary

Methods included from Verbs

any, delete, post, put

Methods inherited from Data

#==, #id, inherited, #initialize, #loaded_associations, #method_missing, namespace, new_from_response, #new_record?, #path, resource_name, resource_path, singular_resource_name, subclasses, #to_json, #to_s

Methods included from Associations

included, #wrap_resource

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

#errorObject

Returns the value of attribute error.



152
153
154
# File 'lib/zendesk_api/resource.rb', line 152

def error
  @error
end

#error_messageObject

Returns the value of attribute error_message.



152
153
154
# File 'lib/zendesk_api/resource.rb', line 152

def error_message
  @error_message
end