Class: BigCommerce::ManagementAPI::Client
- Inherits:
-
Object
- Object
- BigCommerce::ManagementAPI::Client
- Defined in:
- lib/big_commerce/management_api.rb
Instance Attribute Summary collapse
-
#customers ⇒ Object
readonly
Returns the value of attribute customers.
-
#inventories ⇒ Object
readonly
Returns the value of attribute inventories.
-
#segments ⇒ Object
readonly
Returns the value of attribute segments.
-
#subscribers ⇒ Object
readonly
Returns the value of attribute subscribers.
Instance Method Summary collapse
-
#initialize(*argz) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(*argz) ⇒ Client
Returns a new instance of Client.
17 18 19 20 21 22 |
# File 'lib/big_commerce/management_api.rb', line 17 def initialize(*argz) @customers = ManagementAPI::Customers.new(*argz) @inventories = ManagementAPI::Inventories.new(*argz) @segments = ManagementAPI::Segments.new(*argz) @subscribers = ManagementAPI::Subscribers.new(*argz) end |
Instance Attribute Details
#customers ⇒ Object (readonly)
Returns the value of attribute customers.
12 13 14 |
# File 'lib/big_commerce/management_api.rb', line 12 def customers @customers end |
#inventories ⇒ Object (readonly)
Returns the value of attribute inventories.
12 13 14 |
# File 'lib/big_commerce/management_api.rb', line 12 def inventories @inventories end |
#segments ⇒ Object (readonly)
Returns the value of attribute segments.
12 13 14 |
# File 'lib/big_commerce/management_api.rb', line 12 def segments @segments end |
#subscribers ⇒ Object (readonly)
Returns the value of attribute subscribers.
12 13 14 |
# File 'lib/big_commerce/management_api.rb', line 12 def subscribers @subscribers end |