Class: Orderspace::Endpoint
- Inherits:
-
Object
- Object
- Orderspace::Endpoint
- Defined in:
- lib/orderspace/endpoint/endpoint.rb,
lib/orderspace/endpoint/oauth.rb,
lib/orderspace/endpoint/orders.rb,
lib/orderspace/endpoint/webhooks.rb,
lib/orderspace/endpoint/customers.rb
Overview
Defines the parent class for the endpoints
Direct Known Subclasses
Client::CustomersEndpoint, Client::OauthEndpoint, Client::OrdersEndpoint, Client::WebhooksEndpoint
Defined Under Namespace
Modules: Customers, Oauth, Orders, Webhooks
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Endpoint
constructor
Endpoints are initialized by passing the client.
Constructor Details
#initialize(client) ⇒ Endpoint
Endpoints are initialized by passing the client
12 13 14 |
# File 'lib/orderspace/endpoint/endpoint.rb', line 12 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
7 8 9 |
# File 'lib/orderspace/endpoint/endpoint.rb', line 7 def client @client end |