Proca.Supporter (proca v3.3.1)

Supporter is the actor that does actions. Has associated contacts, which contain personal data dediacted to every receiving org

Link to this section Summary

Functions

A naive ranker - not good for ranking existing data! Good for: checking for number of accepted supporters already in the campaign, use before confirm and at storing the accepted action. A race condition is limited (excluded?) because the Proca.Stage.Processing server is single process.

Link to this section Functions

Link to this function

add_contacts(new_supporter, new_contact, action_page, privacy)

Link to this function

all(query, list)

Link to this function

base_decode(encoded)

Link to this function

base_encode(data)

Link to this function

changeset(supporter, attrs)

Link to this function

clear_transient_fields(supporter_change)

Link to this function

decode_ref(changeset, field)

Link to this function

get_by_action_id(action_id)

Link to this function

handle_bounce(map)

A naive ranker - not good for ranking existing data! Good for: checking for number of accepted supporters already in the campaign, use before confirm and at storing the accepted action. A race condition is limited (excluded?) because the Proca.Stage.Processing server is single process.

Link to this function

new_supporter(data, action_page)

Link to this function

privacy_defaults(p)