Sha256: 55c84e87f23d1924a6bf3d7a2f6da644bd6fd19d6450e31d6977cee45c2f5569
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
#!/usr/bin/env ruby $:<< '../lib' << 'lib' require 'goliath' class Valid < Goliath::API use Goliath::Rack::Params use Goliath::Rack::ValidationError use Goliath::Rack::Validation::RequiredParam, {:key => 'test'} def response(env) [200, {}, 'OK'] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
goliath-0.9.1 | examples/valid.rb |