Sha256: 45eef2309c9d35b7b169587d7ed22a65c342e002b456edbd89385a8ea8d318df
Contents?: true
Size: 765 Bytes
Versions: 11
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true require 'billomat/version' require 'billomat/configuration' require 'billomat/models' require 'billomat/actions' require 'billomat/search' require 'billomat/gateway' # An wrapper for the Billomat API. module Billomat class << self attr_writer :configuration # @return [Billomat::Configuration] the global billomat configuration def configuration @configuration ||= Billomat::Configuration.new end # Class method to set and change the global configuration. # # @example # Billomat.configure do |config| # config.subdomain = 'your-business-name' # config.api_key = 'a3b148a61cb642389b4f9953f6233f20' # end def configure yield(configuration) end end end
Version data entries
11 entries across 11 versions & 1 rubygems