Class: Shopkit::Client
- Inherits:
-
Object
- Object
- Shopkit::Client
- Defined in:
- lib/shopkit/client.rb,
lib/shopkit/client/shop.rb,
lib/shopkit/client/orders.rb,
lib/shopkit/client/products.rb,
lib/shopkit/client/variants.rb,
lib/shopkit/client/webhooks.rb
Defined Under Namespace
Modules: Orders, Products, Shop, Variants, Webhooks
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Webhooks
Methods included from Variants
Methods included from Products
Methods included from Orders
Methods included from Shop
Methods included from Traversal
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
14 15 16 17 18 19 |
# File 'lib/shopkit/client.rb', line 14 def initialize(={}) = Shopkit..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |