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

.configObject

Returns the value of attribute config.



14
15
16
# File 'lib/puerta.rb', line 14

def config
  @config
end

Class Method Details

.configure {|self.config| ... } ⇒ Object

Yields:



22
23
24
25
# File 'lib/puerta.rb', line 22

def self.configure
  yield(self.config)
  self.config
end

.reset_configObject



27
28
29
# File 'lib/puerta.rb', line 27

def self.reset_config
  @config = Config.new
end