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

Link to this section Summary

Link to this section Types

Specs

t() :: %Peacemaker.Goto.Webinar{
  __meta__: term(),
  intensive: term(),
  subject: term(),
  webinar_key: term()
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, attrs)

View Source
Link to this function

find_all_wealthfit_webinars()

View Source

Specs

find_all_wealthfit_webinars() :: [
  %Peacemaker.Goto.Webinar{
    __meta__: term(),
    intensive: term(),
    subject: term(),
    webinar_key: term()
  }
]
Link to this function

get_webinar_key(subject)

View Source

Specs

refresh_ids() :: [{atom(), t()}]

Query's GotoWebinar for all of our current intensive offers, and updates the Peacemaker.Goto.Webinar record with the correct id.

This assumes that the following intensives have the following subjects:

  Fix and Flip: `30-Day Fix & Flip Intensive`
  Startup: `30-Day Real Estate Investor Startup Intensive`
  Passive Income: `30-Day Passive Income Intensive`
Link to this function

set_active_webinar(struct \\ %Webinar{}, attrs)

View Source