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