Module: ActiveMerchant::Billing::Integrations::Yeepay
- Defined in:
- lib/active_merchant/billing/integrations/yeepay.rb,
lib/active_merchant/billing/integrations/yeepay/helper.rb,
lib/active_merchant/billing/integrations/yeepay/return.rb,
lib/active_merchant/billing/integrations/yeepay/notification.rb
Defined Under Namespace
Classes: Helper, Notification, Return
Class Method Summary collapse
Class Method Details
.service_url ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/active_merchant/billing/integrations/yeepay.rb', line 16 def self.service_url mode = ActiveMerchant::Billing::Base.integration_mode case mode when :production self.production_url when :test self.test_url else raise StandardError, "Integration mode set to an invalid value: #{mode}" end end |