class ShieldPay::Configuration
Attributes
country_code[RW]
debug[RW]
default_currency[RW]
org_key[RW]
uat[RW]
Public Class Methods
new()
click to toggle source
# File lib/shieldpay/configuration.rb, line 9 def initialize @org_key = nil @country_code = nil @debug = nil @default_currency = nil @uat = false end
Public Instance Methods
api_endpoint_url()
click to toggle source
# File lib/shieldpay/configuration.rb, line 17 def api_endpoint_url if @uat "https://apiuat.shieldpay.com" else "https://api.shieldpay.com" end end
endpoint_url()
click to toggle source
# File lib/shieldpay/configuration.rb, line 25 def endpoint_url if @uat "https://uat.shieldpay.com" else "https://www.shieldpay.com" end end