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.4.13 lib/routes/mongodb.rb
gaptool-server-0.4.12 lib/routes/mongodb.rb
gaptool-server-0.4.11 lib/routes/mongodb.rb
gaptool-server-0.4.10 lib/routes/mongodb.rb
gaptool-server-0.4.9 lib/routes/mongodb.rb
gaptool-server-0.4.8 lib/routes/mongodb.rb
gaptool-server-0.4.7 lib/routes/mongodb.rb
gaptool-server-0.4.6 lib/routes/mongodb.rb
gaptool-server-0.4.5 lib/routes/mongodb.rb
gaptool-server-0.4.4 lib/routes/mongodb.rb
gaptool-server-0.4.3 lib/routes/mongodb.rb
gaptool-server-0.4.2 lib/routes/mongodb.rb
gaptool-server-0.4.1 lib/routes/mongodb.rb
gaptool-server-0.4.0 lib/routes/mongodb.rb
gaptool-server-0.3.8 lib/routes/mongodb.rb
gaptool-server-0.3.7 lib/routes/mongodb.rb
gaptool-server-0.3.6 lib/routes/mongodb.rb
gaptool-server-0.3.3 lib/routes/mongodb.rb
gaptool-server-0.3.2 lib/routes/mongodb.rb
gaptool-server-0.3.1 lib/routes/mongodb.rb