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
.client ⇒ Object
30
31
32
|
# File 'lib/comptaline.rb', line 30
def self.client
@client ||= Comptaline::Client.new @configuration
end
|
.configuration ⇒ Object
26
27
28
|
# File 'lib/comptaline.rb', line 26
def self.configuration
@configuration
end
|
22
23
24
|
# File 'lib/comptaline.rb', line 22
def self.configure(&block)
yield(@configuration)
end
|