Proca.Campaign (proca v3.4.1)

Campaign represents a political goal and consists of many action pages. Belongs to one Org (so called "leader org").

Link to this section Summary

Link to this section Functions

Link to this function

all(query, list)

Link to this function

delete(campaign)

Link to this function

delete(multi, campaign)

Link to this function

get_with_local_pages(campaign_id)

Link to this function

public_action_keys(campaign, action_type)

Link to this function

select_by_org(org)

Select campaigns where org is lead or partner

Link to this function

upsert(org, attrs)