lib/commercelayer/resource.rb in commercelayer-0.2.0 vs lib/commercelayer/resource.rb in commercelayer-0.3.0

- old
+ new

@@ -1,11 +1,12 @@ require "jsonapi/consumer" +require "jsonapi/consumer/decorators" require 'yaml' module Commercelayer JSONAPI::Consumer::Paginating::Paginator.page_param = "page[number]" - + class Resource < JSONAPI::Consumer::Resource # self.connection_options = {} # Faraday connection options # self.json_key_format = :dasherized_key # (default: underscored_key) # self.route_format = :dasherized_route # (default: underscored_route) # self.site = 'http://uashmama.commercelayer.test/api/'