shield v0.6.0 Shield.Store.Client

Client data fetcher

Summary

Functions

Deletes the user’s client

Fetches the client from DB for given id

Updates the user’s client

Fetches the user’s client from DB

Fetches the user’s clients from DB

Functions

create_user_client(user, client_params)
delete_user_client(user, id)

Deletes the user’s client

find(id)

Fetches the client from DB for given id

update_user_client(user, id, client_params)

Updates the user’s client

user_client(user, id)

Fetches the user’s client from DB

user_clients(user)

Fetches the user’s clients from DB