Class: BigCommerce::ManagementAPI::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/big_commerce/management_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#customersObject (readonly)

Returns the value of attribute customers.



12
13
14
# File 'lib/big_commerce/management_api.rb', line 12

def customers
  @customers
end

#inventoriesObject (readonly)

Returns the value of attribute inventories.



12
13
14
# File 'lib/big_commerce/management_api.rb', line 12

def inventories
  @inventories
end

#segmentsObject (readonly)

Returns the value of attribute segments.



12
13
14
# File 'lib/big_commerce/management_api.rb', line 12

def segments
  @segments
end

#subscribersObject (readonly)

Returns the value of attribute subscribers.



12
13
14
# File 'lib/big_commerce/management_api.rb', line 12

def subscribers
  @subscribers
end