Method: EffectiveOrders.moneris_request_url

Defined in:
lib/effective_orders.rb

.moneris_request_urlObject



288
289
290
291
292
293
294
# File 'lib/effective_orders.rb', line 288

def self.moneris_request_url
  case EffectiveOrders.moneris_checkout.fetch(:environment)
  when 'prod' then 'https://gateway.moneris.com/chkt/request/request.php'
  when 'qa' then 'https://gatewayt.moneris.com/chkt/request/request.php'
  else raise('unexpected EffectiveOrders.moneris_checkout :environment key. Please check your config/initializers/effective_orders.rb file')
  end
end