Class: ZendeskAPI::Setting
- Inherits:
-
DataResource
- Object
- Data
- DataResource
- ZendeskAPI::Setting
- Defined in:
- lib/zendesk_api/resources.rb
Instance Attribute Summary (collapse)
-
- (Object) on
readonly
Returns the value of attribute on.
Attributes inherited from DataResource
Attributes inherited from Data
#association, #attributes, #response
Instance Method Summary (collapse)
-
- (Setting) initialize(client, attributes = {})
constructor
A new instance of Setting.
Methods included from Verbs
Methods inherited from Data
#/, #==, format, #id, #method_missing, #new_record?, #path, resource_name, singular_resource_name, subclasses, #to_json
Constructor Details
- (Setting) initialize(client, attributes = {})
A new instance of Setting
137 138 139 140 |
# File 'lib/zendesk_api/resources.rb', line 137 def initialize(client, attributes = {}) @on = attributes.first super(client, attributes[1]) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ZendeskAPI::Data
Instance Attribute Details
- (Object) on (readonly)
Returns the value of attribute on
135 136 137 |
# File 'lib/zendesk_api/resources.rb', line 135 def on @on end |