Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ end

### Advanced Usage

In cases where the mixin is not appropriate the `RedRate::Queue` class can be used
In cases where the mixin is not appropriate the `Redrate::Queue` class can be used
directly. As in the mixin examples above, the `interval` parameter is optional (and
defaults to 1 minute).

``` ruby
class Widget
def initialize
# create a rate-limited queue which allows 10000 operations per hour
@queue = RedRate::Queue.new(10000, interval: 3600)
@queue = Redrate::Queue.new(10000, interval: 3600)
end

def tick
Expand Down