Class: Grape::Exceptions::ServiceUnavailable

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

Overview

ServiceUnavailable (Grape例外拡張)

Instance Method Summary collapse

Constructor Details

#initializeServiceUnavailable

Returns a new instance of ServiceUnavailable.



9
10
11
# File 'lib/moca_rlibs/grape_errors/service_unavailable.rb', line 9

def initialize
  super(message: '503 Service Unavailable', status: 503)
end