Class: WithRateLimit::Strategy::RaiseError
- Inherits:
-
WithRateLimit::Strategy
- Object
- WithRateLimit::Strategy
- WithRateLimit::Strategy::RaiseError
- Defined in:
- lib/with_rate_limit/strategy/raise_error.rb
Class Method Summary collapse
Class Method Details
.execute(timeout) ⇒ Object
3 4 5 |
# File 'lib/with_rate_limit/strategy/raise_error.rb', line 3 def self.execute(timeout) raise WithRateLimit::LimitExceededError.new(timeout) end |