Class: Unit::CustomerToken
- Inherits:
-
APIResource
- Object
- APIResource
- Unit::CustomerToken
- Includes:
- ResourceOperations::Create
- Defined in:
- lib/unit-ruby/customer_token.rb
Instance Attribute Summary
Attributes inherited from APIResource
#id, #raw_data, #relationships, #type
Class Method Summary collapse
Methods included from ResourceOperations::Create
Methods inherited from APIResource
#as_json_api, attribute, #attributes, belongs_to, build_resource_from_json_api, #clear_attributes!, connection, #dirty?, #dirty_attributes, has_many, #initialize, #mark_as_clean!, #mark_attribute_as_dirty, path, resource_path, #resource_type, #schema, schema, #update_attribute, #update_resource_from_json_api
Constructor Details
This class inherits a constructor from Unit::APIResource
Class Method Details
.resources_path(id) ⇒ Object
12 13 14 |
# File 'lib/unit-ruby/customer_token.rb', line 12 def self.resources_path(id) "#{super(id)}/token" end |