Class: Grape::Exceptions::TooManyRequests
- Inherits:
-
Base
- Object
- Base
- Grape::Exceptions::TooManyRequests
- Defined in:
- lib/moca_rlibs/grape_errors/too_many_requests.rb
Overview
TooManyRequests (Grape例外拡張)
Instance Method Summary collapse
-
#initialize ⇒ TooManyRequests
constructor
A new instance of TooManyRequests.
Constructor Details
#initialize ⇒ TooManyRequests
Returns a new instance of TooManyRequests.
9 10 11 |
# File 'lib/moca_rlibs/grape_errors/too_many_requests.rb', line 9 def initialize super(message: '401 Too Many Requests', status: 429) end |