Class: RecipientsRetrievers::EmployeesWithoutTimesheetsRecipientsRetriever
- Inherits:
-
BaseRecipientsRetriever
- Object
- BaseRecipientsRetriever
- RecipientsRetrievers::EmployeesWithoutTimesheetsRecipientsRetriever
- Defined in:
- app/notifications/recipients_retrievers/employees_without_timesheets_recipients_retriever.rb
Instance Attribute Summary
Attributes inherited from BaseRecipientsRetriever
#event_notification_configuration, #reference_event
Instance Method Summary collapse
Methods inherited from BaseRecipientsRetriever
Constructor Details
This class inherits a constructor from RecipientsRetrievers::BaseRecipientsRetriever
Instance Method Details
#retrieve_recipients ⇒ Object
5 6 7 8 |
# File 'app/notifications/recipients_retrievers/employees_without_timesheets_recipients_retriever.rb', line 5 def retrieve_recipients company = reference_event.reference company.erp_users.where(active: true).payroll_administrators end |