Sha256: 6c15919300db4a45d96ea1de1eb8001520102183c91a24cd76f5c511a41772b1
Contents?: true
Size: 877 Bytes
Versions: 31
Compression:
Stored size: 877 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/TrxReqForJava' LIVE_URL = 'https://trustlink.hitrust.com.tw/TrustLink/TrxReqForJava' def self.service_url ActiveMerchant::Billing::Base.integration_mode == :test ? TEST_URL : LIVE_URL end def self.notification(post, options = {}) Notification.new(post) end def self.return(query_string, options = {}) Return.new(query_string) end end end end end
Version data entries
31 entries across 31 versions & 2 rubygems