Module: Commerce
- Defined in:
- lib/commerce.rb,
lib/commerce/cart.rb,
lib/commerce/order.rb,
lib/commerce/product.rb,
lib/commerce/service.rb,
lib/commerce/checkout.rb,
lib/commerce/api_helper.rb,
lib/commerce/base_controller.rb,
lib/commerce/http/http_client.rb,
lib/commerce/http/http_context.rb,
lib/commerce/http/http_request.rb,
lib/commerce/http/http_response.rb,
lib/commerce/http/faraday_client.rb,
lib/commerce/http/http_call_back.rb,
lib/commerce/http/http_method_enum.rb,
lib/commerce/exceptions/api_exception.rb,
lib/commerce/http/auth/custom_header_auth.rb
Defined Under Namespace
Classes: APIException, APIHelper, BaseController, Cart, Checkout, CustomHeaderAuth, FaradayClient, HttpCallBack, HttpClient, HttpContext, HttpMethodEnum, HttpRequest, HttpResponse, Order, Product, Service
Class Attribute Summary collapse
-
.api_base ⇒ Object
Returns the value of attribute api_base.
-
.api_key ⇒ Object
Returns the value of attribute api_key.
Class Method Summary collapse
Class Attribute Details
.api_base ⇒ Object
Returns the value of attribute api_base.
32 33 34 |
# File 'lib/commerce.rb', line 32 def api_base @api_base end |
.api_key ⇒ Object
Returns the value of attribute api_key.
32 33 34 |
# File 'lib/commerce.rb', line 32 def api_key @api_key end |
Class Method Details
.Auth(api_key) ⇒ Object
33 34 35 |
# File 'lib/commerce.rb', line 33 def Auth(api_key) @api_key = api_key end |