class Net::HTTPMethodNotAllowed

Response class for Method Not Allowed responses (status code 405).

The request method is not supported for the requested resource.

This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.

References: