FIX: regression around rate limiter

This commit is contained in:
Sam
2017-12-04 21:44:16 +11:00
parent dd70ef3abf
commit 5a9622163d
3 changed files with 17 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ class RateLimiter
# A rate limit has been exceeded.
class LimitExceeded < StandardError
attr_reader :type
attr_reader :type, :available_in
def initialize(available_in, type = nil)
@available_in = available_in