Peacemaker
v3.3.5-rc.7
Pages
Modules
Mix Tasks
Peacemaker.Utils
(Peacemaker v3.3.5-rc.7)
View Source
Miscellaneous Helper Functions
Link to this section
Summary
Functions
add_tracking_fields(conn, params)
build_default_connection()
changeset_to_map(changeset)
combine_maropost_tags(map, add_tags_list)
convert_to(attrs, atom)
convert_to(struct, type, opts \\ [])
float_to_int(stringed_float)
format_dollar_amount(amt, opts \\ [])
format_plan_value(stringed_price)
generate_random_string()
get_current_month_number()
get_environment()
get_key(params, key, default \\ nil)
get_version()
is_wealthfit_email?(email)
keys_to_atoms(string_key_map)
normalize_email(email)
parse_ip(conn)
parse_utms(params)
retry_or_abort_failed_order(effect_to_compensate, effects_so_far, attrs)
retry_or_continue(effect_to_compensate, effects_so_far, attrs)
sanitize(params)
start_tracers(_)
to_struct(kind, attrs)
translate_errors(changeset)
trim_environment_from_campaign_name(name)
update_existing(map, key, value)
update_tracers(params)
validate_changeset(changeset)
Link to this section
Functions
Link to this function
add_tracking_fields(conn, params)
View Source
Link to this function
build_default_connection()
View Source
Link to this function
changeset_to_map(changeset)
View Source
Link to this function
combine_maropost_tags(map, add_tags_list)
View Source
Link to this function
convert_to(attrs, atom)
View Source
Link to this function
convert_to(struct, type, opts \\ [])
View Source
Link to this function
float_to_int(stringed_float)
View Source
Link to this function
format_dollar_amount(amt, opts \\ [])
View Source
Link to this function
format_plan_value(stringed_price)
View Source
Link to this function
generate_random_string()
View Source
Link to this function
get_current_month_number()
View Source
Link to this function
get_environment()
View Source
Link to this function
get_key(params, key, default \\ nil)
View Source
Link to this function
get_version()
View Source
Link to this function
is_wealthfit_email?(email)
View Source
Link to this function
keys_to_atoms(string_key_map)
View Source
Link to this function
normalize_email(email)
View Source
Link to this function
parse_ip(conn)
View Source
Link to this function
parse_utms(params)
View Source
Link to this function
retry_or_abort_failed_order(effect_to_compensate, effects_so_far, attrs)
View Source
Link to this function
retry_or_continue(effect_to_compensate, effects_so_far, attrs)
View Source
Link to this function
sanitize(params)
View Source
Link to this function
start_tracers(_)
View Source
Link to this function
to_struct(kind, attrs)
View Source
Link to this function
translate_errors(changeset)
View Source
Link to this function
trim_environment_from_campaign_name(name)
View Source
Link to this function
update_existing(map, key, value)
View Source
Link to this function
update_tracers(params)
View Source
Link to this function
validate_changeset(changeset)
View Source