Module: EasyInvoices

Defined in:
lib/easy_invoices.rb,
lib/easy_invoices/base.rb,
lib/easy_invoices/version.rb,
lib/easy_invoices/includer.rb

Defined Under Namespace

Modules: Base, Includer Classes: Act, Configuration, Error, Generator, Invoice

Constant Summary collapse

BASE_SIGN_SIZE =
200
VERSION =
"0.1.7"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



19
20
21
# File 'lib/easy_invoices.rb', line 19

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end