module OffsitePayments::Integrations::Directebanking

Public Class Methods

notification(post, options = {}) click to toggle source
# File lib/offsite_payments/integrations/directebanking.rb, line 32
def self.notification(post, options = {})
  Notification.new(post, options)
end
return(post, options = {}) click to toggle source
# File lib/offsite_payments/integrations/directebanking.rb, line 36
def self.return(post, options = {})
  Return.new(post, options)
end
service_url() click to toggle source
# File lib/offsite_payments/integrations/directebanking.rb, line 20
def self.service_url
  mode = OffsitePayments.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