Connect a Ruby application to Novu.
Novu’s Ruby SDK provides simple, yet comprehensive notification management, and delivery capabilities through multiple channels that you can implement using code that integrates seamlessly with your Ruby application.
Explore the source code on GitHub
gem install novu
require 'novu'
client = Novu::Client.new(access_token: 'YOUR_NOVU_API_TOKEN')
payload = {
'name' => 'Trigger1',
'payload' => { # optional
'first-name' => 'Adam' # optional
},
'to' => {
'subscriberId' => '7789'
},
'transactionId' => '89kjfke9893' #optional
}
client.trigger_event(payload)
Was this page helpful?