Class: StockShaker::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/stock_shaker/config.rb,
lib/stock_shaker/config/lazada_config.rb,
lib/stock_shaker/config/shopee_config.rb

Overview

TODO: Add validation

Defined Under Namespace

Classes: LazadaConfig, ShopeeConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



21
22
23
24
# File 'lib/stock_shaker/config.rb', line 21

def initialize
  @lazada_config = LazadaConfig.new
  @shopee_config = ShopeeConfig.new
end

Instance Attribute Details

#lazada_configObject

Returns the value of attribute lazada_config.



19
20
21
# File 'lib/stock_shaker/config.rb', line 19

def lazada_config
  @lazada_config
end

#shopee_configObject

Returns the value of attribute shopee_config.



19
20
21
# File 'lib/stock_shaker/config.rb', line 19

def shopee_config
  @shopee_config
end