Module: SynergyWholesale::Configuration
- Included in:
- SynergyWholesale
- Defined in:
- lib/synergy_wholesale/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
16 17 18 19 |
# File 'lib/synergy_wholesale/configuration.rb', line 16 def api_key raise 'You need to provide an API Key to use the Synergy Wholesale API' unless @api_key @api_key end |
#reseller_id ⇒ Object
11 12 13 14 |
# File 'lib/synergy_wholesale/configuration.rb', line 11 def reseller_id raise 'You need to provide a reseller ID to use the Synergy Wholesale API' unless @reseller_id @reseller_id end |
Instance Method Details
#wsdl_path ⇒ Object
7 8 9 |
# File 'lib/synergy_wholesale/configuration.rb', line 7 def wsdl_path 'https://api.synergywholesale.com/server.php?wsdl' end |