Sha256: 693115e92d8163913bbe18119ca2bacefa123ef8cba4048fb8b0301569810a64

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

# frozen_string_literal: true

require "json"
require "forwardable"
require "logger"
require "net/http"
require "addressable"
require "bckbn/version"
require "bckbn/configuration"
require "bckbn/core_ext"
require "bckbn/connection"
require "bckbn/resources/transactions/api"
require "bckbn/resources/transactions/models/card"
require "bckbn/resources/transactions/models/echeck"
require "bckbn/resources/transactions/models/billing_address"
require "bckbn/resources/transactions/models/requests"
require "bckbn/resources/transactions/models/responses"
require "bckbn/resources/transactions/models/payment"

require "bckbn/resources/charge/api"
require "bckbn/resources/charge/models/requests"
require "bckbn/resources/charge/models/responses"

module Bckbn
  @config = Bckbn::Configuration.setup

  class << self
    extend Forwardable

    attr_reader :config

    def_delegators :@config, :access_token, :access_token=
    def_delegators :@config, :api_version, :api_version=
    def_delegators :@config, :api_base, :api_base=
    def_delegators :@config, :log_level, :log_level=
    def_delegators :@config, :worldpay_merchant_id, :worldpay_merchant_id=
    def_delegators :@config, :source_ip_address, :source_ip_address=
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bckbn-3.0.1 lib/bckbn.rb