Sha256: 84fd163ec4f36d98a6db96757cfad9f460ab3a0a88d167835e5541dd0a48e733
Contents?: true
Size: 885 Bytes
Versions: 2
Compression:
Stored size: 885 Bytes
Contents
require "typhoeus" require "multi_json" require "ecommerce/version" require "ecommerce/configuration" require "ecommerce/client" require "ecommerce/attribute_handler" require "ecommerce/resources/base" require "ecommerce/resources/collection" require "ecommerce/resources/account_order" require "ecommerce/resources/order" require "ecommerce/resources/order_collection" require "ecommerce/resources/invoice_order" require "ecommerce/resources/invoice_order_collection" require "ecommerce/resources/invoice_plan" require "ecommerce/resources/adjustment_order" require "ecommerce/resources/adjustment_order_collection" module Ecommerce def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) if block_given? end def self.client Client.new(Ecommerce.configuration.token, Ecommerce.configuration.secret) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecommerce-client-0.0.5 | lib/ecommerce.rb |
ecommerce-client-0.0.4 | lib/ecommerce.rb |