class PaymentHighway::Config
Attributes
account[RW]
key[RW]
merchant[RW]
secret[RW]
service[RW]
version[RW]
Public Class Methods
new( account:, key:, secret:, merchant: nil, service: 'https://v1.api.paymenthighway.io', version: PaymentHighway::API_VERSION )
click to toggle source
# File lib/payment_highway/config.rb, line 4 def initialize( account:, key:, secret:, merchant: nil, # This is optional only and it's used if account has sub merchant service: 'https://v1.api.paymenthighway.io', version: PaymentHighway::API_VERSION ) @account = account @merchant = merchant @key = key @secret = secret @service = service @version = version end