Sha256: 63eddf6972d87e4aa6a7375cc5a17d1891a1e6bf5be14ffe0ea13b765db6b21f
Contents?: true
Size: 240 Bytes
Versions: 5
Compression:
Stored size: 240 Bytes
Contents
require 'rubygems' require 'sinatra' get '/' do "Hello, #{params[:name]}".strip end post '/' do "Hello, #{params[:name]}".strip end put '/' do "Hello, #{params[:name]}".strip end delete '/' do "Hello, #{params[:name]}".strip end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
brianmario-streamly-0.1.1 | spec/sinatra.rb |
brianmario-streamly-0.1.2 | spec/sinatra.rb |
brianmario-streamly-0.1.3 | spec/sinatra.rb |
streamly-0.1.4 | spec/server.rb |
streamly-0.1.3 | spec/sinatra.rb |