Sha256: d73239092159a1678f07ee7af5814a091354f34a6877998acd0e1482f219c2a3
Contents?: true
Size: 241 Bytes
Versions: 8
Compression:
Stored size: 241 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
8 entries across 8 versions & 1 rubygems