Skip to content

v2.2.0

Choose a tag to compare

@josuemontano josuemontano released this 27 Oct 21:18
· 13 commits to main since this release

We're adding support for fetching notifications when you identify users by their ID.

require 'magicbell'

magicbell = MagicBell::Client.new

user = magicbell.user_with_external_id('XXXXXXXXX')
user.notifications.each do |notification|
  puts notification.attribute('title')
end
  • Added user_with_external_id method to MagicBell::Client