##Rack::RateLimiter The Rate Limiter will be implemented as a Rack middleware similarly to GitHub’s API ( https://developer.github.com/v3/#rate-limiting ).
Add this line to your application's Gemfile:
gem 'rack_rate_limiter', git: 'git://github.com/sulkowski/rack_rate_limiter.git'
In your application add:
require 'rack_rate_limiter'
- Fork it ( https://github.com/sulkowski/rate_limiter/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request