lib/slidepay/resources/api_key.rb in slidepay-0.0.4 vs lib/slidepay/resources/api_key.rb in slidepay-0.0.5
- old
+ new
@@ -1,6 +1,9 @@
module SlidePay
class ApiKey < ApiResource
+ URL_ROOT = "api_key"
+ ID_ATTRIBUTE = "api_key_id"
+
def initialize(values_hash={})
@url_root = "api_key"
@id_attribute = "api_key_id"
super(values_hash)