Module: Ecocash
- Defined in:
- lib/ecocash.rb,
lib/ecocash/client.rb,
lib/ecocash/version.rb,
lib/ecocash/configuration.rb
Defined Under Namespace
Classes: Client, Configuration
Constant Summary collapse
- VERSION =
'1.0.0'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/ecocash.rb', line 8 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
19 20 21 |
# File 'lib/ecocash.rb', line 19 def self.configure yield(configuration) end |
.reset ⇒ Object
15 16 17 |
# File 'lib/ecocash.rb', line 15 def self.reset @configuration = Configuration.new end |