Sha256: c755fdfc0f927610251479ee9d3737f9b548483c9a92dfe8f98ac688b668a4ed

Contents?: true

Size: 895 Bytes

Versions: 1

Compression:

Stored size: 895 Bytes

Contents

require 'nedbank_api/api_wrapper'
require 'nedbank_api/authentications_api'
require 'nedbank_api/exceptions'
require 'nedbank_api/payments_api'
require 'nedbank_api/version'
require 'nedbank_api/models/base_model'
require 'nedbank_api/models/intent_token'
require 'nedbank_api/models/payment'
require 'nedbank_api/models/payment_submission'
require 'nedbank_api/services/client'
require 'nedbank_api/services/configuration'
require 'nedbank_api/services/http'

require 'uri'
require 'openssl'
require 'net/http'
require 'uri'
require 'securerandom'

module NedbankApi
  @intent_token = Models::IntentToken.new(Object.new)

  class << self
    attr_accessor :intent_token,
      :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def reset
      @configuration = Configuration.new
    end

    def configure
      yield(configuration)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nedbank_api-0.2.2 lib/nedbank_api.rb