Class: Cats::Core::SimpleNotification

Inherits:
Noticed::Base
  • Object
show all
Defined in:
app/notifications/cats/core/simple_notification.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



13
14
15
16
17
# File 'app/notifications/cats/core/simple_notification.rb', line 13

def message
  title = params[:title]
  body = params[:body]
  {title: title, body: body}
end