Class: Praxis::Responses::Ok

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

Overview

Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action.

Direct Known Subclasses

MultipartOk

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