Module: Billomat
- Defined in:
- lib/billomat.rb,
lib/billomat/search.rb,
lib/billomat/gateway.rb,
lib/billomat/version.rb,
lib/billomat/models/tag.rb,
lib/billomat/actions/pdf.rb,
lib/billomat/models/base.rb,
lib/billomat/actions/email.rb,
lib/billomat/configuration.rb,
lib/billomat/models/client.rb,
lib/billomat/actions/cancel.rb,
lib/billomat/models/contact.rb,
lib/billomat/models/invoice.rb,
lib/billomat/models/template.rb,
lib/billomat/actions/complete.rb,
lib/billomat/actions/uncancel.rb,
lib/billomat/models/credit_note.rb,
lib/billomat/models/invoice_item.rb,
lib/billomat/models/invoice_comment.rb,
lib/billomat/models/invoice_payment.rb,
lib/billomat/models/credit_note_item.rb more...
Overview
The gem version details.
Defined Under Namespace
Modules: Actions, Models Classes: Configuration, Gateway, GatewayError, Search
Constant Summary collapse
- VERSION =
The version of the
billomat
gem '1.5.0'
Class Attribute Summary collapse
-
.configuration ⇒ Billomat::Configuration
The global billomat configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
Class method to set and change the global configuration.
-
.gem_version ⇒ Gem::Version
Returns the version of the gem as a
Gem::Version
. -
.version ⇒ String
Returns the version of gem as a string.
Class Attribute Details
permalink .configuration ⇒ Billomat::Configuration
Returns the global billomat configuration.
26 27 28 |
# File 'lib/billomat.rb', line 26 def configuration @configuration ||= Billomat::Configuration.new end |
Class Method Details
permalink .configure {|configuration| ... } ⇒ Object
Class method to set and change the global configuration.
37 38 39 |
# File 'lib/billomat.rb', line 37 def configure yield(configuration) end |
permalink .gem_version ⇒ Gem::Version
Returns the version of the gem as a Gem::Version
.
19 20 21 |
# File 'lib/billomat/version.rb', line 19 def gem_version Gem::Version.new VERSION end |
permalink .version ⇒ String
Returns the version of gem as a string.
12 13 14 |
# File 'lib/billomat/version.rb', line 12 def version VERSION end |