Class: Unit::PinStatus

Inherits:
APIResource show all
Includes:
ResourceOperations::Find
Defined in:
lib/unit-ruby/pin_status.rb

Instance Attribute Summary

Attributes inherited from APIResource

#id, #raw_data, #relationships, #type

Class Method Summary collapse

Methods included from ResourceOperations::Find

included

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_type, resources_path, #schema, schema, #update_attribute, #update_resource_from_json_api

Constructor Details

This class inherits a constructor from Unit::APIResource

Class Method Details

.resource_path(id) ⇒ Object



7
8
9
# File 'lib/unit-ruby/pin_status.rb', line 7

def self.resource_path(id)
  "#{super(id)}/secure-data/pin/status"
end