Class: RubyEcommClient::ServiceBase
- Inherits:
-
Object
- Object
- RubyEcommClient::ServiceBase
- Includes:
- Freddy::ResponseConverter, Utils
- Defined in:
- lib/ruby-ecomm-client/service_base.rb
Direct Known Subclasses
Constant Summary collapse
- ID_TYPE =
'ORION'
Instance Method Summary collapse
-
#initialize(config_client) ⇒ ServiceBase
constructor
A new instance of ServiceBase.
Methods included from Utils
Constructor Details
#initialize(config_client) ⇒ ServiceBase
Returns a new instance of ServiceBase.
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 |