Sha256: 5cf9427fb42998c4a873f3f667bfcb8b986b9a064f6a8dff1371dabd9125ff6c
Contents?: true
Size: 717 Bytes
Versions: 2
Compression:
Stored size: 717 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 = @sandbox_mode ? 'https://api-sandbox.onlinebetaalplatform.nl/v1/' : '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.1 | lib/online_payment_platform.rb |
online_payment_platform-0.0.0 | lib/online_payment_platform.rb |