Sha256: 9712c5316fdb5d78b932b60833f9efb0ac5ac08093a46d59e430fb2f30a62ec2
Contents?: true
Size: 147 Bytes
Versions: 2
Compression:
Stored size: 147 Bytes
Contents
post '/hooks' do params = JSON.parse(request.env['rack.input'].read) Fourchette::PullRequest.new.async.perform(params) 'Got it, thanks!' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fourchette-0.1.4 | lib/fourchette/web/hooks.rb |
fourchette-0.1.3 | lib/fourchette/web/hooks.rb |