Sha256: 0ce7b661cd025450dc37e5641bbd4de5923d8584282ebfd246cbe81b1773861b
Contents?: true
Size: 770 Bytes
Versions: 1
Compression:
Stored size: 770 Bytes
Contents
require File.dirname(__FILE__) + '/hi_trust/helper.rb' require File.dirname(__FILE__) + '/hi_trust/notification.rb' require File.dirname(__FILE__) + '/hi_trust/return.rb' module MerbMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module HiTrust TEST_URL = 'https://testtrustlink.hitrust.com.tw/TrustLink/TrxReq' LIVE_URL = 'https://trustlink.hitrust.com.tw/TrustLink/TrxReq' def self.service_url MerbMerchant::Billing::Base.integration_mode == :test ? TEST_URL : LIVE_URL end def self.notification(post) Notification.new(post) end def self.return(query_string) Return.new(query_string) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
merb_merchant-1.4.1 | lib/merb_merchant/billing/integrations/hi_trust.rb |