class HostDetailHandler
- HostDetailHandler
- Marten::Handlers::Base
- Reference
- Object
Defined in:
handlers/host.crInstance Method Summary
-
#get
Handles a
GET
HTTP request and returns aMarten::HTTP::Response
object. -
#post
Handles a
POST
HTTP request and returns aMarten::HTTP::Response
object.
Instance Method Detail
def get
#
Description copied from class Marten::Handlers::Base
Handles a GET
HTTP request and returns a Marten::HTTP::Response
object.
The default implementation will return a 405 (not allowed) response.
def post
#
Description copied from class Marten::Handlers::Base
Handles a POST
HTTP request and returns a Marten::HTTP::Response
object.
The default implementation will return a 405 (not allowed) response.