Goto.Token (Peacemaker v3.3.5-rc.7) View Source

Module for managing Registrants in GotoWebinar.

Link to this section Summary

Functions

Builds the initial token. Sets the email if given.

Formats the request payload when updating an existing contact in Maropost

Validates then submits the token. Will perform different submit actions base on the submit_type. Default submit_type is :create

Link to this section Types

Specs

t() :: %Goto.Token{
  credentials: term(),
  email: term(),
  payload: term(),
  registrant_key: term(),
  type: term(),
  webinar_key: term()
}

Link to this section Functions

Builds the initial token. Sets the email if given.

Link to this function

delete_registrant(token, payload)

View Source

Formats the request payload when updating an existing contact in Maropost

Link to this function

set_fortune_builders_credentials(token)

View Source
Link to this function

set_registrant(token, payload)

View Source
Link to this function

set_registrant_key(token, key)

View Source
Link to this function

set_wealthfit_credentials(token)

View Source
Link to this function

set_webinar_key(token, key)

View Source

Validates then submits the token. Will perform different submit actions base on the submit_type. Default submit_type is :create

:create -> Creates a new Maropost Contact :update -> Update a Maropost Contact to add or remove tags.