Class: Grape::Exceptions::BadGateway

Inherits:
Base
  • Object
show all
Defined in:
lib/moca_rlibs/grape_errors/bad_gateway.rb

Overview

BadGateway (Grape例外拡張)

Instance Method Summary collapse

Constructor Details

#initializeBadGateway

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