| content_types_provided/2 | Return content-types which are provided. |
| forbidden/2 | Prevent requests coming from an invalid origin. |
| init/1 | Initialize resource. |
| is_authorized/2 | Ensure user has access. |
| routes/0 | Return routes this resource should respond to. |
| service_available/2 | Handle SSL requests. |
| to_json/2 | Return the current cluster, along with a plan if it's available. |
content_types_provided(ReqData::wrq:reqdata(), Context::undefined) -> {list(), wrq:reqdata(), undefined}
Return content-types which are provided.
forbidden(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Prevent requests coming from an invalid origin.
init(X1::[]) -> {ok, undefined}
Initialize resource.
is_authorized(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Ensure user has access.
routes() -> [webmachine_dispatcher:matchterm()]
Return routes this resource should respond to.
service_available(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Handle SSL requests.
to_json(ReqData::wrq:reqdata(), Context::undefined) -> {binary(), wrq:reqdata(), undefined}
Return the current cluster, along with a plan if it's available.
Generated by EDoc