slippers v0.1.0 Slippers.Roles

Summary

Functions

Get a single role.

Example

Slippers.Roles.find(client, "12345")

More info at: https://github.com/10Kft/10kft-api/blob/master/sections/roles.md#show-role

Get all roles.

Example

Slippers.Roles.list(client)

More info at: https://github.com/10Kft/10kft-api/blob/master/sections/roles.md#list-roles-index

Functions

find(client, role_id, params \\ [])
find(Slippers.Client.t, pos_integer, [{atom, binary}] | []) :: Slippers.response

Get a single role.

Example

Slippers.Roles.find(client, "12345")

More info at: https://github.com/10Kft/10kft-api/blob/master/sections/roles.md#show-role

list(client, params \\ [])
list(Slippers.Client.t, [{atom, binary}] | []) :: Slippers.response

Get all roles.

Example

Slippers.Roles.list(client)

More info at: https://github.com/10Kft/10kft-api/blob/master/sections/roles.md#list-roles-index