Sha256: 1e53c9edeed54c255c87b8cabd2ec13f13388733b8a4969eb0bf7d2edf3167ee

Contents?: true

Size: 649 Bytes

Versions: 2

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

require 'online_payment_platform/version'
require 'online_payment_platform/client'
require 'online_payment_platform/client/status'
require 'online_payment_platform/client/merchant'
require 'online_payment_platform/client/transaction'

module OnlinePaymentPlatform
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :api_key, :base_uri, :sandbox_mode

    def initialize
      @sandbox_mode = true
      @base_uri = 'https://api.onlinebetaalplatform.nl/v1/'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
online_payment_platform-0.0.3 lib/online_payment_platform.rb
online_payment_platform-0.0.2 lib/online_payment_platform.rb