Class: Praxis::Responses::MethodNotAllowed

Inherits:
Praxis::Response show all
Defined in:
lib/praxis/responses/http.rb

Overview

A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource.

Instance Attribute Summary

Attributes inherited from Praxis::Response

#body, #headers, #name, #parts, #request, #status

Method Summary

Methods inherited from Praxis::Response

#add_part, #content_type, #content_type=, #encode!, #finish, #format!, #handle, inherited, #initialize, #response_name, #validate

Constructor Details

This class inherits a constructor from Praxis::Response