Class: Grape::Exceptions::Forbidden

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

Overview

Forbidden (Grape例外拡張)

Instance Method Summary collapse

Constructor Details

#initializeForbidden

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