ami_models v0.3.4 Ami.Notification

Link to this section Summary

Link to this section Functions

Link to this function

clear_old_notifications_for_user(user_id, time_in_month \\ 1)

Link to this function

create_and_send(notification_params)

Link to this function

create_and_send?(notification_params)

Link to this function

exclude_ids(query, ids)

Link to this function

for_user(user_id)

Link to this function

for_user(query, user_id)

Link to this function

for_user_navbar(user_id, limit \\ 5)

Link to this function

latest_activities_for(user)

Link to this function

notify_of_commenting(comment, map)

Link to this function

notify_of_liking(like, map)

Link to this function

notify_of_post_sharing(map)

Link to this function

notify_of_tool_sharing(map)

Link to this function

notify_of_toolkit_sharing(map)

Link to this function

or_unread(query)

Link to this function

order_by_creation_date(query)

Link to this function

send(notification)

Link to this function

unread_count_for_user(user_id)

Link to this function

with_limit(limit)

Link to this function

with_limit(query, limit)