Class: FakePaymill::Memory
- Inherits:
-
Object
- Object
- FakePaymill::Memory
- Defined in:
- lib/fake_paymill/memory.rb
Instance Attribute Summary collapse
-
#clients ⇒ Object
Returns the value of attribute clients.
Instance Method Summary collapse
- #clear! ⇒ Object
-
#initialize ⇒ Memory
constructor
A new instance of Memory.
Constructor Details
#initialize ⇒ Memory
Returns a new instance of Memory.
5 6 7 |
# File 'lib/fake_paymill/memory.rb', line 5 def initialize clear! end |
Instance Attribute Details
#clients ⇒ Object
Returns the value of attribute clients.
3 4 5 |
# File 'lib/fake_paymill/memory.rb', line 3 def clients @clients end |
Instance Method Details
#clear! ⇒ Object
9 10 11 |
# File 'lib/fake_paymill/memory.rb', line 9 def clear! @clients = {} end |