Pivo v0.1.0 Pivo.ActionRouter View Source

Action Router module.

Builds the params keyword list needed by the Pivo.TrackerAPI module to issue an HTTP request.

Link to this section Summary

Functions

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the create action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the destroy action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the fetch action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_all action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_paginated action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_selected action.

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the update action.

Link to this section Functions

Link to this function

create(resource_module, create_map)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the create action.

Link to this function

create(resource_module, create_map, params)

View Source

See create/2

Link to this function

destroy(resource_module)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the destroy action.

Link to this function

destroy(resource_module, params)

View Source

See destroy/1

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the fetch action.

Link to this function

fetch(resource_module, params)

View Source

See fetch/1

Link to this function

get_all(resource_module)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_all action.

Link to this function

get_all(resource_module, params)

View Source

See get_all/1

Link to this function

get_paginated(resource_module)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_paginated action.

Link to this function

get_paginated(resource_module, params)

View Source

See get_paginated/1

Link to this function

get_selected(resource_module)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the get_selected action.

Link to this function

get_selected(resource_module, params)

View Source

See get_selected/1

Link to this function

update(resource_module, update_map)

View Source

Maps the Pivo.Resource module to its corresponding Pivo.Endpoint module for the update action.

Link to this function

update(resource_module, update_map, params)

View Source

See update/2