Sha256: 92a4876f9fe0f156779f67e1e6a5016cb7769b70329cd92b5507d966b770a67b
Contents?: true
Size: 774 Bytes
Versions: 29
Compression:
Stored size: 774 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 ActiveMerchant #: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 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
29 entries across 29 versions & 10 rubygems