Sha256: 61f8179164241d8a116d2e5ec0a4e4c81a420cb08e64265e51377817f9a39337
Contents?: true
Size: 680 Bytes
Versions: 3
Compression:
Stored size: 680 Bytes
Contents
require_relative 'wayforpay/constants' require_relative 'wayforpay/encrypt_field' require_relative 'wayforpay/payments' require_relative 'wayforpay/request' require_relative 'wayforpay/util/configuration' module Wayforpay extend SingleForwardable def_delegators :configuration, :merchant_account, :merchant_domain_name, :encrypt_secret_key # Pre-configure with merchant_account, merchant_domain_name # and encrypt_secret_key. def self.configure(&block) yield configuration end private ## # Returns an existing or instantiates a new configuration object. def self.configuration @configuration ||= Util::Configuration.new end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wayforpay-0.1.2 | lib/wayforpay.rb |
wayforpay-0.1.1 | lib/wayforpay.rb |
wayforpay-0.1.0 | lib/wayforpay.rb |