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