module NotifieeAPI
Constants
- VERSION
Public Class Methods
notify(notifiee, channels, message, **params)
click to toggle source
# File lib/notifiee-ruby.rb, line 10 def notify(notifiee, channels, message, **params) channels = [channels].flatten payload = params.merge( notifiee: notifiee, channels: channels, message: message ) NotifieeAPI::Notifications.create(payload) end