Exception: Served::Resource::MethodNotAllowed

Inherits:
HttpError show all
Defined in:
lib/served/resource/http_errors.rb

Overview

405 MethodNotAllowed

Instance Attribute Summary

Attributes inherited from HttpError

#code, #errors, #message, #response, #server_backtrace

Class Method Summary collapse

Methods inherited from HttpError

#initialize, #status

Constructor Details

This class inherits a constructor from Served::Resource::HttpError

Class Method Details

.codeObject



72
73
74
# File 'lib/served/resource/http_errors.rb', line 72

def self.code
  405
end