lib/routes/redis.rb in gaptool-server-0.2.4 vs lib/routes/redis.rb in gaptool-server-0.3.0

- old
+ new

@@ -2,6 +2,10 @@ class GaptoolServer < Sinatra::Application post '/status/redis/llen' do data = JSON.parse request.body.read remotellen(data).to_json end + post '/status/redis/lpush' do + data = JSON.parse request.body.read + remotelpush(data['list'], data['value']).to_json + end end