Skip to content

Commit f70857d

Browse files
authored
Merge pull request #59 from Spone/patch-1
Fix option name in README
2 parents b60d155 + ba33b00 commit f70857d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Rules are checked in this order:
223223
It is possible to set the time window for this strategy to: `:second` (default), `:minute`, `:hour` or `:day`, to change the check interval to these windows.
224224

225225
```ruby
226-
use Rack::Throttle::Rules, limits: limits, time_window: :minute
226+
use Rack::Throttle::Rules, rules: rules, time_window: :minute
227227
```
228228

229229

0 commit comments

Comments
 (0)