Sha256: eb31173adb8e74dcbb918269eabb7574ffd4e2238815188d1f3ab9d0950c6a10

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

class DeadlineNotifier

  def self.call
    Project.with_notifiable_deadlines.uniq.each do |project|
      DeadlineMailer.notify(project.id)
      project.set_deadline_notification_sent_at!
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 test/dummy_app/app/services/deadline_notifier.rb