Method: EffectiveOrders.moneris_checkout_script_url
- Defined in:
- lib/effective_orders.rb
.moneris_checkout_script_url ⇒ Object
280 281 282 283 284 285 286 |
# File 'lib/effective_orders.rb', line 280 def self.moneris_checkout_script_url case EffectiveOrders.moneris_checkout.fetch(:environment) when 'prod' then 'https://gateway.moneris.com/chkt/js/chkt_v1.00.js' when 'qa' then 'https://gatewayt.moneris.com/chkt/js/chkt_v1.00.js' else raise('unexpected EffectiveOrders.moneris_checkout :environment key. Please check your config/initializers/effective_orders.rb file') end end |