Module: QAuthRubyClient::NotificationHelper

Defined in:
app/helpers/q_auth_ruby_client/notification_helper.rb

Instance Method Summary collapse

Instance Method Details

#set_notification_messages(heading, alert, now_type) ⇒ Object



3
4
5
6
7
# File 'app/helpers/q_auth_ruby_client/notification_helper.rb', line 3

def set_notification_messages(heading, alert, now_type)
  @heading = heading
  @alert = alert
  set_flash_message("#{@heading}: #{@alert}", now_type) if defined?(flash) && flash
end