Class: Biovision::Notifiers::ContactNotifier

Inherits:
BaseNotifier show all
Defined in:
app/lib/biovision/notifiers/contact_notifier.rb

Overview

Notification mapper for contact component

Constant Summary collapse

TYPE_FEEDBACK_MESSAGE =
'feedback_message'

Instance Attribute Summary

Attributes inherited from BaseNotifier

#notification, #user

Instance Method Summary collapse

Methods inherited from BaseNotifier

[], #component, #entity, handler_class, #initialize, #notify, slug, #view

Constructor Details

This class inherits a constructor from Biovision::Notifiers::BaseNotifier

Instance Method Details

#new_feedback_message(message_id) ⇒ Object

Parameters:

  • message_id (Integer)


10
11
12
# File 'app/lib/biovision/notifiers/contact_notifier.rb', line 10

def new_feedback_message(message_id)
  check_and_notify(message_id, TYPE_FEEDBACK_MESSAGE)
end