module OffsitePayments::Integrations::Valitor
Public Class Methods
notification(params, options={})
click to toggle source
# File lib/offsite_payments/integrations/valitor.rb, line 18 def self.notification(params, options={}) Notification.new(params, options.merge(:test => test?)) end
return(query_string, options={})
click to toggle source
# File lib/offsite_payments/integrations/valitor.rb, line 22 def self.return(query_string, options={}) Return.new(query_string, options.merge(:test => test?)) end
service_url()
click to toggle source
# File lib/offsite_payments/integrations/valitor.rb, line 14 def self.service_url (test? ? test_url : production_url) end
test?()
click to toggle source
# File lib/offsite_payments/integrations/valitor.rb, line 10 def self.test? (OffsitePayments.mode == :test) end