Module: Klarna::Checkout::Configuration
- Included in:
- Klarna::Checkout
- Defined in:
- lib/klarna/checkout/configuration.rb
Instance Method Summary collapse
Instance Method Details
#configure {|_self| ... } ⇒ Object
14 15 16 |
# File 'lib/klarna/checkout/configuration.rb', line 14 def configure(&blk) yield(self) end |
#reset_configuration! ⇒ Object
18 19 20 21 22 23 |
# File 'lib/klarna/checkout/configuration.rb', line 18 def reset_configuration! self.shared_secret = nil self.merchant_id = nil self.default_country = nil self.default_currency = nil end |