Module: Puerta
- Defined in:
- lib/puerta.rb,
lib/puerta/config.rb,
lib/puerta/version.rb,
lib/puerta/nl/checkout.rb
Defined Under Namespace
Modules: Nl
Classes: Config
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
14
15
16
|
# File 'lib/puerta.rb', line 14
def config
@config
end
|
Class Method Details
22
23
24
25
|
# File 'lib/puerta.rb', line 22
def self.configure
yield(self.config)
self.config
end
|
.reset_config ⇒ Object
27
28
29
|
# File 'lib/puerta.rb', line 27
def self.reset_config
@config = Config.new
end
|