Sha256: 658d14bab2e7bae642d1e2c524bf55d8743531a297636b60d90a14f19818122a

Contents?: true

Size: 552 Bytes

Versions: 5

Compression:

Stored size: 552 Bytes

Contents

# This is the file that lets you configure notifications in bulk, instead of
# using individual "notify_on" calls within your models.
#
# Do so by first specifying the underscored class name, and give each
# notification a name. For example:
#
# message:
#   message_sent:
#     when: :save
#     if: :active?
#     unless: :from_unless?
#     to: :user
#     from: :author
#     message: '{author.first_name} has sent you a message.'
#     link: chat_path(:chat)
#     email:
#       template: new_message
#       unless:  :pusher_recipient_active?
#

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notify_on-1.0.5 lib/generators/templates/notifications.yml
notify_on-1.0.4 lib/generators/templates/notifications.yml
notify_on-1.0.3 lib/generators/templates/notifications.yml
notify_on-1.0.2 lib/generators/templates/notifications.yml
notify_on-1.0.1 lib/generators/templates/notifications.yml