Sha256: 97618811ecc7392af58523e1c85a1d52df0287ad6618ad45659414875f9465c0
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Bckbn API_VERSION = "0.1.0" CONFIG_OPTIONS = %i[ access_token api_version api_base log_level merchant_id source_ip_address ].freeze Configuration = Struct.new(*CONFIG_OPTIONS, keyword_init: true) do def self.setup new end def initialize(**opts) opts[:api_version] ||= API_VERSION super(**opts) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bckbn-0.1.2 | lib/bckbn/configuration.rb |
bckbn-0.1.1 | lib/bckbn/configuration.rb |
bckbn-0.1.0 | lib/bckbn/configuration.rb |