Sha256: 1ba268f97bb9c4adb90a210cb50cb58c6d33ba0c0c8554c117feabb91dd30968
Contents?: true
Size: 180 Bytes
Versions: 22
Compression:
Stored size: 180 Bytes
Contents
# encoding: utf-8 class GaptoolServer < Sinatra::Application post '/status/mongo/colcount' do data = JSON.parse request.body.read collectioncount(data).to_json end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
gaptool-server-0.3.0 | lib/routes/mongodb.rb |
gaptool-server-0.2.4 | lib/routes/mongodb.rb |