Module: Fattura24

Defined in:
lib/fattura24.rb,
lib/fattura24/utils.rb,
lib/fattura24/errors.rb,
lib/fattura24/version.rb,
lib/fattura24/api/client.rb,
lib/fattura24/api/response.rb,
lib/fattura24/configuration.rb,
lib/fattura24/document_type.rb,
lib/fattura24/fe_payment_code.rb

Defined Under Namespace

Modules: Api, DocumentType, FePaymentCode, Utils Classes: Configuration, Error, InvalidParams, MissingApiKey, MissingInput, NotSerializable

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.configurationObject

Returns current configuration object



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

def self.configuration
  @configuration ||= Configuration.new
end

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

Calling this method will yield to a block passing the configuration object as parameter.

Yields:



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

def self.configure
  yield configuration
end