OfficeMomsandDads/scheduler

View on GitHub
app/lib/services/notifications/needs/recipients/update.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Services
  module Notifications
    class Needs
      class Recipients
        class Update
          include Concord.new(:need)
          include Procto.call

          delegate :users_to_notify,
                   to: :need

          alias recipients users_to_notify
        end
      end
    end
  end
end