module PayuIndia

Constants

VERSION

Public Class Methods

checksum(merchant_id, secret_key, payload_items ) click to toggle source
# File lib/payuindia.rb, line 24
def self.checksum(merchant_id, secret_key, payload_items )
  Digest::SHA512.hexdigest([merchant_id, *payload_items, secret_key].join("|"))
end
notification(post, options = {}) click to toggle source
# File lib/payuindia.rb, line 16
def self.notification(post, options = {})
  Notification.new(post, options)
end
return(post, options = {}) click to toggle source
# File lib/payuindia.rb, line 20
def self.return(post, options = {})
  Return.new(post, options)
end
service_url() click to toggle source
# File lib/payuindia.rb, line 12
def self.service_url
  defined?(Rails) && Rails.env == 'production' ? self.production_url : self.test_url
end