Proca.Server.Notify (proca v3.0.2)

Server that decides what actions should be done after different events

Link to this section Summary

Link to this section Functions

Link to this function

action_created(action, supporter \\ nil)

Specs

action_created(
  %Proca.Action{
    __meta__: term(),
    action_page: term(),
    action_page_id: term(),
    action_type: term(),
    campaign: term(),
    campaign_id: term(),
    donation: term(),
    fields: term(),
    id: term(),
    inserted_at: term(),
    processing_status: term(),
    ref: term(),
    source: term(),
    source_id: term(),
    supporter: term(),
    supporter_id: term(),
    updated_at: term(),
    with_consent: term()
  },
  %Proca.Supporter{
    __meta__: term(),
    action_page: term(),
    action_page_id: term(),
    actions: term(),
    area: term(),
    campaign: term(),
    campaign_id: term(),
    contacts: term(),
    email: term(),
    fingerprint: term(),
    first_name: term(),
    id: term(),
    inserted_at: term(),
    processing_status: term(),
    source: term(),
    source_id: term(),
    updated_at: term()
  }
  | nil
) :: :ok
Link to this function

action_page_added(action_page)

Link to this function

action_page_updated(action_page)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

instance_org_updated()

Link to this function

instance_state()

Link to this function

org_confirm_created(cnf, org)

Link to this function

org_created(org)

Link to this function

org_deleted(org)

Link to this function

org_updated(org, changeset)

Link to this function

public_key_activated(org, key)

Specs

public_key_activated(Proca.Org, Proca.PublicKey) :: :ok
Link to this function

public_key_created(org, key)

Specs

public_key_created(Proca.Org, Proca.PublicKey) :: :ok
Link to this function

restart_org_pipes(org, changeset)

Link to this function

send_confirm_as_event(cnf, org_id)

Link to this function

send_confirm_by_email(cnf, org)

Link to this function

start_org_pipes(org)

Link to this function

stop_org_pipes(org)