class Qpay::Config

Attributes

adapter[RW]
api_key[RW]
app_key[RW]
appid[RW]
cert_file[RW]
cert_password[RW]
cert_type[RW]
mch_id[RW]

Public Class Methods

new(options = {}) click to toggle source
# File lib/qpay/config.rb, line 7
def initialize(options = {})
  @appid = options[:appid]
  @mch_id = options[:mch_id]
  @app_key = options[:app_key]
  @api_key = options[:api_key]
  @cert_type = options[:cert_type]
  @cert_file = options[:cert_file]
  @cert_password = options[:cert_password]
  @adapter = options[:adapter]
end