Sha256: ef9a40ee9ba736141a17e71a2204487ab8b9e1391603cd95867e6c09914f239d

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

# encoding: utf-8
class GaptoolServer < Sinatra::Application
  post '/status/redis/llen' do
    data = JSON.parse request.body.read
    remotellen(data).to_json
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gaptool-server-0.2.4 lib/routes/redis.rb
gaptool-server-0.2.3 lib/routes/redis.rb