Module: OffsitePayments::Integrations::PayuInPaisa

Defined in:
lib/offsite_payments/integrations/payu_in_paisa.rb

Defined Under Namespace

Classes: Helper, Notification, Return

Class Method Summary collapse

Class Method Details

.notification(post, options = {}) ⇒ Object



14
15
16
# File 'lib/offsite_payments/integrations/payu_in_paisa.rb', line 14

def self.notification(post, options = {})
  Notification.new(post, options)
end

.return(post, options = {}) ⇒ Object



18
19
20
# File 'lib/offsite_payments/integrations/payu_in_paisa.rb', line 18

def self.return(post, options = {})
  Return.new(post, options)
end

.service_urlObject



10
11
12
# File 'lib/offsite_payments/integrations/payu_in_paisa.rb', line 10

def self.service_url
  OffsitePayments.mode == :production ? self.production_url : self.test_url
end