module OffsitePayments::Integrations::Paypal
Public Class Methods
notification(post, options = {})
click to toggle source
# File lib/offsite_payments/integrations/paypal.rb, line 24 def self.notification(post, options = {}) Notification.new(post) end
return(query_string, options = {})
click to toggle source
# File lib/offsite_payments/integrations/paypal.rb, line 28 def self.return(query_string, options = {}) Return.new(query_string) end
service_url()
click to toggle source
# File lib/offsite_payments/integrations/paypal.rb, line 12 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