Sha256: 934aa63c992c457a0d783cf44787ff9432bff2f223b6562c722b704468805154
Contents?: true
Size: 835 Bytes
Versions: 55
Compression:
Stored size: 835 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module HiTrust autoload :Helper, File.dirname(__FILE__) + '/hi_trust/helper.rb' autoload :Return, File.dirname(__FILE__) + '/hi_trust/return.rb' autoload :Notification, File.dirname(__FILE__) + '/hi_trust/notification.rb' TEST_URL = 'https://testtrustlink.hitrust.com.tw/TrustLink/TrxReq' LIVE_URL = 'https://trustlink.hitrust.com.tw/TrustLink/TrxReq' def self.service_url ActiveMerchant::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
55 entries across 55 versions & 15 rubygems