Module: Comptaline

Defined in:
lib/comptaline.rb,
lib/comptaline/utils.rb,
lib/comptaline/client.rb,
lib/comptaline/version.rb,
lib/comptaline/exporter.rb,
lib/comptaline/accounting_entry/base.rb,
lib/comptaline/accounting_entry/invoice.rb,
lib/comptaline/accounting_entry/customer.rb,
lib/comptaline/accounting_entry/clearance.rb,
lib/comptaline/accounting_entry/general_operation.rb

Defined Under Namespace

Modules: AccountingEntry Classes: Client, Configuration, Exporter, Utils

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.clientObject



30
31
32
# File 'lib/comptaline.rb', line 30

def self.client
  @client ||= Comptaline::Client.new @configuration
end

.configurationObject



26
27
28
# File 'lib/comptaline.rb', line 26

def self.configuration
  @configuration
end

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

Yields:



22
23
24
# File 'lib/comptaline.rb', line 22

def self.configure(&block)
  yield(@configuration)
end