Skip to content

Latest commit

 

History

History
127 lines (78 loc) · 4.41 KB

sc_push_wm_send_device.md

File metadata and controls

127 lines (78 loc) · 4.41 KB

Module sc_push_wm_send_device

webmachine resource that handles the push notification component of the REST API.

Authors: Edwin Fine (efine@silentcircle.com).

Description

See https://github.com/basho/webmachine/wiki/Resource-Functions for a description of the resource functions used in this module.

Data Types


ctx() = #ctx{}

Context record.

Function Index

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

Function Details

allow_missing_post/2


allow_missing_post(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()

allowed_methods/2


allowed_methods(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> {list(), sc_push_wm_helper:wrq(), ctx()}

finish_request/2


finish_request(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()

init/1


malformed_request/2


malformed_request(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()

post_is_create/2


post_is_create(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()

process_post/2


resource_exists/2


resource_exists(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()

valid_content_headers/2


valid_content_headers(ReqData::sc_push_wm_helper:wrq(), Ctx::ctx()) -> sc_push_wm_helper:wbool_ret()