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