Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benesch/rack-auth-travis-webhook

Rack middleware to verify Travis CI webhook requests.
https://github.com/benesch/rack-auth-travis-webhook

Last synced: about 1 month ago
JSON representation

Rack middleware to verify Travis CI webhook requests.

Awesome Lists containing this project

README

        

# Rack::Auth::TravisWebhook

Rack middleware to [verify Travis CI webhook requests][0].

[0]: https://docs.travis-ci.com/user/notifications/#Verifying-Webhook-requests

## Usage

```ruby
require 'rack/auth/travis_webhook'

Rack::Builder.new do
use Rack::Auth::TravisWebhook
run ->(_env) { [200, {}, ["If you can see me, you must be Travis!"]] }
end
```