Class: StockShaker::Config
- Inherits:
-
Object
- Object
- StockShaker::Config
- 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
-
#lazada_config ⇒ Object
Returns the value of attribute lazada_config.
-
#shopee_config ⇒ Object
Returns the value of attribute shopee_config.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_config ⇒ Object
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_config ⇒ Object
Returns the value of attribute shopee_config.
19 20 21 |
# File 'lib/stock_shaker/config.rb', line 19 def shopee_config @shopee_config end |