webmachine resource that handles the push notification component of the REST API.
Authors: Edwin Fine (efine@silentcircle.com
).
See https://github.com/basho/webmachine/wiki/Resource-Functions
for a
description of the resource functions used in this module.
ctx() = #ctx{}
Context record.
allow_missing_post/2 | |
allowed_methods/2 | |
finish_request/2 | |
init/1 | |
malformed_request/2 | |
post_is_create/2 | |
process_post/2 | |
resource_exists/2 | |
valid_content_headers/2 |
allow_missing_post(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
allowed_methods(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> {list(), sc_push_wm_helper:wrq(), ctx()}
finish_request(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
init(Config::sc_push_wm_helper:config()) -> {sc_push_wm_helper:debug_info(), ctx()}
malformed_request(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
post_is_create(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
process_post(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
resource_exists(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()
valid_content_headers(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()