module OffsitePayments::Integrations::Robokassa
Documentation: robokassa.ru/Doc/En/Interface.aspx
Public Class Methods
helper(order, account, options = {})
click to toggle source
# File lib/offsite_payments/integrations/robokassa.rb, line 28 def self.helper(order, account, options = {}) Helper.new(order, account, options) end
notification(query_string, options = {})
click to toggle source
# File lib/offsite_payments/integrations/robokassa.rb, line 32 def self.notification(query_string, options = {}) Notification.new(query_string, options) end
return(query_string)
click to toggle source
# File lib/offsite_payments/integrations/robokassa.rb, line 36 def self.return(query_string) Return.new(query_string) end
service_url()
click to toggle source
# File lib/offsite_payments/integrations/robokassa.rb, line 16 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