Module: Rafka::GenericCommands
Overview
Instance Method Summary collapse
-
#close ⇒ Object
Closes the connection.
- #ping ⇒ Object
Instance Method Details
#close ⇒ Object
Closes the connection.
12 13 14 |
# File 'lib/rafka/generic_commands.rb', line 12 def close @redis.quit end |
#ping ⇒ Object
5 6 7 |
# File 'lib/rafka/generic_commands.rb', line 5 def ping @redis.ping end |