module SynergyWholesale::Configuration

Attributes

api_key[W]
reseller_id[W]

Public Instance Methods

api_key() click to toggle source
# 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() click to toggle source
# 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
wsdl_path() click to toggle source
# File lib/synergy_wholesale/configuration.rb, line 7
def wsdl_path
  'https://api.synergywholesale.com/server.php?wsdl'
end