Knock.Preferences (Knock v0.2.1) View Source

Knock resources for accessing preferences

Link to this section Summary

Functions

Returns the preference set for the user

Returns all of the users preference sets

Sets the entire preference set for the user

Sets the workflow preferences for the user

Sets the channel type preferences for the user

Sets the channel type preferences for the user

Sets the workflow preferences for the user

Link to this section Functions

Link to this function

get(client, user_id, options \\ [])

View Source

Returns the preference set for the user

Link to this function

get_all(client, user_id)

View Source

Returns all of the users preference sets

Link to this function

set(client, user_id, preferences, options \\ [])

View Source

Sets the entire preference set for the user

Link to this function

set_categories(client, user_id, categories, options \\ [])

View Source

Sets the workflow preferences for the user

Link to this function

set_category(client, user_id, category_key, setting, options \\ [])

View Source

Sets the workflow preference for the user

Link to this function

set_channel_type(client, user_id, channel_type, setting, options \\ [])

View Source

Sets the channel type preferences for the user

Link to this function

set_channel_types(client, user_id, channel_types, options \\ [])

View Source

Sets the channel type preferences for the user

Link to this function

set_workflow(client, user_id, workflow_key, setting, options \\ [])

View Source

Sets the workflow preference for the user

Link to this function

set_workflows(client, user_id, workflows, options \\ [])

View Source

Sets the workflow preferences for the user