Class: SlidePay::ApiKey

Inherits:
ApiResource show all
Defined in:
lib/slidepay/resources/api_key.rb

Instance Attribute Summary

Attributes inherited from ApiResource

#api_key, #endpoint, #id_attribute, #token, #url_root

Instance Method Summary collapse

Methods inherited from ApiResource

api_resource_array_from_response, #destroy, find, find_between, find_greater_than, find_less_than, find_where, #id, #is_new?, #populate_from_response, #retrieve, retrieve, #save, #url

Constructor Details

#initialize(values_hash = {}) ⇒ ApiKey

Returns a new instance of ApiKey.



6
7
8
9
10
11
# File 'lib/slidepay/resources/api_key.rb', line 6

def initialize(values_hash={})
  @url_root = "api_key"
  @id_attribute = "api_key_id"

  super(values_hash)
end