class Grape::Exceptions::MethodNotAllowed
Public Class Methods
new(headers)
click to toggle source
Calls superclass method
Grape::Exceptions::Base::new
# File lib/grape/exceptions/method_not_allowed.rb, line 6 def initialize(headers) super(message: '405 Not Allowed', status: 405, headers: headers) end