Class: ZendeskAPI::DataResource

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

Overview

Indexable resource

Direct Known Subclasses

Ability, CRMData, CRMDataStatus, CreateResource, CustomRole, DeleteResource, ReadResource, Resource, Role, Setting, Ticket::Audit, TicketMetric, UpdateResource, ViewCount, ViewRow

Instance Attribute Summary (collapse)

Attributes inherited from Data

#association, #attributes, #response

Method Summary

Methods included from Verbs

delete, post, put

Methods inherited from Data

#/, #==, format, #id, #initialize, #method_missing, #new_record?, #path, resource_name, singular_resource_name, subclasses, #to_json

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

- (Object) error

Returns the value of attribute error



129
130
131
# File 'lib/zendesk_api/resource.rb', line 129

def error
  @error
end

- (Object) error_message

Returns the value of attribute error_message



129
130
131
# File 'lib/zendesk_api/resource.rb', line 129

def error_message
  @error_message
end