Skip to content

Latest commit

 

History

History
90 lines (53 loc) · 2.89 KB

sc_push_wm_version.md

File metadata and controls

90 lines (53 loc) · 2.89 KB

Module sc_push_wm_version

webmachine resource that handles the version endpoint.

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

allowed_methods/2
content_types_provided/2
init/1
resource_exists/2
to_json/2

Function Details

allowed_methods/2


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

content_types_provided/2


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

init/1


resource_exists/2


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

to_json/2