Module: SamcartAPI
- Defined in:
- lib/samcart_api.rb,
lib/samcart_api/order.rb,
lib/samcart_api/client.rb,
lib/samcart_api/product.rb,
lib/samcart_api/version.rb,
lib/samcart_api/paginator.rb,
lib/samcart_api/api_request.rb,
lib/samcart_api/samcart_object.rb
Defined Under Namespace
Classes: ApiError, ApiRequest, AuthenticationError, Client, Configuration, ConfigurationError, Error, Order, Paginator, Product, SamcartObject
Constant Summary
collapse
- VERSION =
'1.0.0'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
28
29
30
|
# File 'lib/samcart_api.rb', line 28
def configuration
@configuration ||= Configuration.new
end
|
24
25
26
|
# File 'lib/samcart_api.rb', line 24
def configure
yield(configuration)
end
|