Module: InfaktApiClient
- Defined in:
- lib/infakt_api_client.rb,
lib/infakt_api_client/user.rb,
lib/infakt_api_client/client.rb,
lib/infakt_api_client/engine.rb,
lib/infakt_api_client/version.rb,
lib/infakt_api_client/configuration.rb,
lib/generators/infakt_api_client/install_generator.rb
Overview
Module for interacting with the inFakt.pl API
Defined Under Namespace
Modules: Generators Classes: Client, Configuration, ConfigurationError, Engine, Error, User
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Configuration
Current configuration instance.
Class Method Summary collapse
-
.configure {|config| ... } ⇒ Object
Configures the client through a block.
Class Attribute Details
.configuration ⇒ Configuration
Returns Current configuration instance.
26 27 28 |
# File 'lib/infakt_api_client.rb', line 26 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|config| ... } ⇒ Object
Configures the client through a block
33 34 35 36 37 |
# File 'lib/infakt_api_client.rb', line 33 def configure yield(configuration) rescue LocalJumpError raise ConfigurationError, "Configuration block is required" end |