Module: Lite::Redis::TransactionHelper
- Included in:
- Transaction, Transaction
- Defined in:
- lib/lite/redis/helpers/transaction_helper.rb
Instance Method Summary collapse
Instance Method Details
#discard ⇒ Object
7 8 9 |
# File 'lib/lite/redis/helpers/transaction_helper.rb', line 7 def discard client.discard end |
#exec ⇒ Object
11 12 13 |
# File 'lib/lite/redis/helpers/transaction_helper.rb', line 11 def exec client.exec end |
#multi(&block) ⇒ Object
15 16 17 |
# File 'lib/lite/redis/helpers/transaction_helper.rb', line 15 def multi(&block) client.multi(&block) end |
#unwatch ⇒ Object
23 24 25 |
# File 'lib/lite/redis/helpers/transaction_helper.rb', line 23 def unwatch client.unwatch end |
#watch(*args) ⇒ Object
19 20 21 |
# File 'lib/lite/redis/helpers/transaction_helper.rb', line 19 def watch(*args) client.watch(*args) end |