lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.26.0 vs lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.27.0

- old
+ new

@@ -4,12 +4,12 @@ module ActiveMerchant #:nodoc: module Billing #:nodoc: class SkipJackGateway < Gateway API_VERSION = '?.?' - LIVE_HOST = "https://www.skipjackic.com" - TEST_HOST = "https://developer.skipjackic.com" + self.live_url = "https://www.skipjackic.com" + self.test_url = "https://developer.skipjackic.com" BASIC_PATH = "/scripts/evolvcc.dll" ADVANCED_PATH = "/evolvcc/evolvcc.aspx" ACTIONS = { @@ -278,10 +278,10 @@ :cvv_result => response[:szCVV2ResponseCode] ) end def url_for(action) - result = test? ? TEST_HOST : LIVE_HOST + result = test? ? self.test_url : self.live_url result += advanced? && action == :authorization ? ADVANCED_PATH : BASIC_PATH result += "?#{ACTIONS[action]}" end def add_credentials(params, action)