Class: RubyEcommClient::ServiceBase

Inherits:
Object
  • Object
show all
Includes:
Freddy::ResponseConverter, Utils
Defined in:
lib/ruby-ecomm-client/service_base.rb

Direct Known Subclasses

ServiceManager, ServiceProfile, ServicePurchase

Constant Summary collapse

ID_TYPE =
'ORION'

Instance Method Summary collapse

Methods included from Utils

included

Constructor Details

#initialize(config_client) ⇒ ServiceBase

Returns a new instance of ServiceBase.

Raises:

  • (ArgumentError)


8
9
10
11
12
# File 'lib/ruby-ecomm-client/service_base.rb', line 8

def initialize(config_client)
  raise ArgumentError.new('config_client must be specified') if config_client.nil?

  @config_client = config_client
end