Knock.Preferences.set_workflow

You're seeing just the function set_workflow, go back to Knock.Preferences module for more information.
Link to this function

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

View Source

Sets the workflow preference for the user