class Strait::RateLimitExceeded

Public Class Methods

new(period:, count:, **_other) click to toggle source
# File lib/strait/rate_limit_exceeded.rb, line 5
def initialize(period:, count:, **_other)
  @period = period
  @count = count
end

Public Instance Methods

to_s() click to toggle source
# File lib/strait/rate_limit_exceeded.rb, line 10
def to_s
  "Rate Limit Exceeded: #{@count} per #{@period} seconds"
end