DEV Community

Discussion on: Crafting user notifications in Rails with Active Delivery

Collapse
 
lethunder profile image
lethunder

Thanks @vladimir for this article.
What about notifier classes? Where should we store them?
If I've understood the component workflow, we need to create delivery class, notifier class and driver class. Right?

Collapse
 
palkan_tula profile image
Vladimir Dementyev

I store notifiers in app/notifiers.

In the end, my structure looks like this:

app/
  deliveries/
  notifiers/
  lib/
    some_driver.rb
Enter fullscreen mode Exit fullscreen mode