Sha256: aa97edbd1a4e4be7c5a586aaa3e538551fcc7b9fbbf7f8b9df4b59f613906330

Contents?: true

Size: 999 Bytes

Versions: 7

Compression:

Stored size: 999 Bytes

Contents

# frozen_string_literal: true

require "json"
require "forwardable"
require "logger"
require "net/http"
require "bckbn/version"
require "bckbn/configuration"
require "bckbn/core_ext"
require "bckbn/connection"
require "bckbn/resources/transaction/api"
require "bckbn/resources/transaction/models/card"
require "bckbn/resources/transaction/models/echeck"
require "bckbn/resources/transaction/models/billing_address"
require "bckbn/resources/transaction/models/requests"
require "bckbn/resources/transaction/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, :merchant_id, :merchant_id=
    def_delegators :@config, :source_ip_address, :source_ip_address=
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bckbn-2.0.0 lib/bckbn.rb
bckbn-1.1.0 lib/bckbn.rb
bckbn-1.0.0 lib/bckbn.rb
bckbn-0.2.0 lib/bckbn.rb
bckbn-0.1.2 lib/bckbn.rb
bckbn-0.1.1 lib/bckbn.rb
bckbn-0.1.0 lib/bckbn.rb