Class: NotificationsMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/notifications_mailer.rb

Instance Method Summary collapse

Instance Method Details

#pending_cards(user) ⇒ Object


2
3
4
5
6
# File 'app/mailers/notifications_mailer.rb', line 2

def pending_cards(user)
  @user = user
  @cards = user.cards_for_review
  mail(to: @user.email, subject: "Cards review")
end