Proca.Action (proca v3.4.1)

Record for action done by supporter. Supporter can have many actions, but actions can be created without a supporter with intention, to match them later to supporter record. This can come handy when we need to create actions for user, but will gather personal data later. It is possible to use ref field to match action to supporter later.

Link to this section Summary

Link to this section Functions

Link to this function

all(query, list)

Link to this function

build_for_supporter(attrs, supporter, action_page)

Creates action for supporter. Supporter can be a struct, or reference (binary)

Link to this function

clear_transient_fields(action_change)

Link to this function

confirm(action)

Link to this function

get_by_id(action_id)

Link to this function

get_by_id_and_ref(action_id, ref)