Sha256: b049b1783c5b4d0d149fb6a3ee92304c16026b784f8d44e94fa126b04e65c3c0

Contents?: true

Size: 197 Bytes

Versions: 17

Compression:

Stored size: 197 Bytes

Contents

require 'rubygems'
require 'sinatra'
require 'dripdrop/message'

post '/endpoint' do
  puts DripDrop::Message.decode_json(request.body.read).inspect
  DripDrop::Message.new('ack').json_encoded
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dripdrop-0.11.0-java example/complex/service.rb
dripdrop-0.11.0 example/complex/service.rb
dripdrop-0.10.0 example/complex/service.rb
dripdrop-0.10.0-java example/complex/service.rb
dripdrop-0.10.0.beta2 example/complex/service.rb
dripdrop-0.10.0.beta1 example/complex/service.rb
dripdrop-0.9.10 example/complex/service.rb
dripdrop-0.9.9 example/complex/service.rb
dripdrop-0.9.8 example/complex/service.rb
dripdrop-0.9.6 example/complex/service.rb
dripdrop-0.9.5 example/complex/service.rb
dripdrop-0.9.4 example/complex/service.rb
dripdrop-0.9.3 example/complex/service.rb
dripdrop-0.9.2 example/complex/service.rb
dripdrop-0.8.1 example/complex/service.rb
dripdrop-0.8.0 example/complex/service.rb
dripdrop-0.7.1 example/complex/service.rb