module Billomat

An wrapper for the <a href=“Billomatbillomat.com”>Billomat> API

Constants

VERSION

Attributes

configuration[W]

Public Class Methods

configuration() click to toggle source

@return [Billomat::Configuration] The global billomat configuration

# File lib/billomat.rb, line 20
def self.configuration
  @configuration ||= Billomat::Configuration.new
end
configure() { |configuration| ... } click to toggle source

Class method to set and change the global configuration

@example

Billomat.configure do |config|
  config.subdomain = 'your-business-name'
  config.api_key = 'a3b148a61cb642389b4f9953f6233f20'
end
# File lib/billomat.rb, line 31
def self.configure
  yield(configuration)
end