Module: Rackful

Defined in:
gems/rackful-0.1.1/lib/rackful_server.rb,
gems/rackful-0.1.1/lib/rackful_path.rb,
gems/rackful-0.1.1/lib/rackful_request.rb,
gems/rackful-0.1.1/lib/rackful_resource.rb,
gems/rackful-0.1.1.orig/lib/rackful_path.rb,
gems/rackful-0.1.1/lib/rackful_serializer.rb,
gems/rackful-0.1.1/lib/rackful_http_status.rb,
gems/rackful-0.1.1.orig/lib/rackful_server.rb,
gems/rackful-0.1.1.orig/lib/rackful_request.rb,
gems/rackful-0.1.1.orig/lib/rackful_resource.rb,
gems/rackful-0.1.1.orig/lib/rackful_serializer.rb,
gems/rackful-0.1.1.orig/lib/rackful_http_status.rb

Overview

Required for running:

Defined Under Namespace

Modules: Resource Classes: HTTP201Created, HTTP202Accepted, HTTP301MovedPermanently, HTTP303SeeOther, HTTP304NotModified, HTTP307TemporaryRedirect, HTTP400BadRequest, HTTP403Forbidden, HTTP404NotFound, HTTP405MethodNotAllowed, HTTP406NotAcceptable, HTTP409Conflict, HTTP410Gone, HTTP411LengthRequired, HTTP412PreconditionFailed, HTTP415UnsupportedMediaType, HTTP422UnprocessableEntity, HTTP501NotImplemented, HTTP503ServiceUnavailable, HTTPSimpleStatus, HTTPStatus, HeaderSpoofing, JSON, MethodSpoofing, Path, RelativeLocation, Request, Serializer, Server, XHTML

Instance Method Summary (collapse)

Instance Method Details

- (Hash?) headers

This method is abstract.

You don’t have to include the `Content-Type` header, as this is done for you.

This method is optional.

Returns:

  • (Hash, nil)

Since:

  • 0.1.0



# File 'gems/rackful-0.1.1/lib/rackful_serializer.rb', line 46