class Cuprum::Rails::Responders::Json::Resource

Defines default responses for a RESTful resource.

Responds to any other successful result by serializing the result value with status 200. For a failing result, serializes a generic error with status 500 Internal Server Error.