Class: Barthes::Client::Rdb
- Inherits:
-
Object
- Object
- Barthes::Client::Rdb
- Defined in:
- lib/barthes/client/rdb.rb
Instance Method Summary collapse
Instance Method Details
#action(params) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/barthes/client/rdb.rb', line 4 def action(params) result = [] response = execute_query(params['query']) if response response.each do |row| result << row end end result end |