require "notifiee_api/version" require "notifiee_api/exceptions" require "notifiee_api/client" require "notifiee_api/notifications" module NotifieeAPI class << self def notify(notifiee, channels, message, **params) channels = [channels].flatten payload = params.merge( notifiee: notifiee, channels: channels, message: message ) NotifieeAPI::Notifications.create(payload) end end end