Module: Superfaktura

Defined in:
lib/superfaktura.rb,
lib/superfaktura/locales.rb,
lib/superfaktura/version.rb,
lib/superfaktura/base_api.rb,
lib/superfaktura/invoices.rb,
lib/superfaktura/configuration.rb,
lib/superfaktura/create_invoice.rb,
lib/superfaktura/check_connection.rb

Defined Under Namespace

Classes: BaseApi, CheckConnection, Configuration, CreateInvoice, Error, Invoices, Locales

Constant Summary collapse

VERSION =
'1'.freeze

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/superfaktura.rb', line 14

def self.config
  @configuration
end

.configure {|@configuration| ... } ⇒ Object

Yields:

  • (@configuration)


18
19
20
# File 'lib/superfaktura.rb', line 18

def self.configure
  yield(@configuration)
end