class Crack::Handler::Method
- Crack::Handler::Method
- Crack::Handler::Base
- Reference
- Object
Overview
The method handler looks for a param["_method"] and overrides the request.method
with it.
This will allow form submits using POST to override the method to match a RESTful backend.
DEPENDENT: params handler
Defined in:
crack/method.crConstructors
Class Method Summary
-
.instance
class method to return a singleton instance of this Controller
Instance Method Summary
-
#call(context)
Execution of this handler.
- #header_key : String
- #header_key=(header_key : String)
- #params_key : String
- #params_key=(params_key : String)