Class: Lite::Redis::Transaction
- Inherits:
-
Base
- Object
- Base
- Lite::Redis::Transaction
show all
- Defined in:
- lib/lite/redis/transaction.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#initialize, method_missing, #respond_to_method?, #respond_to_missing?
Instance Method Details
#discard ⇒ Object
7
8
9
|
# File 'lib/lite/redis/transaction.rb', line 7
def discard
client.discard
end
|
#exec ⇒ Object
11
12
13
|
# File 'lib/lite/redis/transaction.rb', line 11
def exec
client.exec
end
|
#multi(&block) ⇒ Object
15
16
17
|
# File 'lib/lite/redis/transaction.rb', line 15
def multi(&block)
client.multi(&block)
end
|
#unwatch ⇒ Object
23
24
25
|
# File 'lib/lite/redis/transaction.rb', line 23
def unwatch
client.unwatch
end
|
#watch(*args) ⇒ Object
19
20
21
|
# File 'lib/lite/redis/transaction.rb', line 19
def watch(*args)
client.watch(*args)
end
|