blob: d7a6804ee88b3d784aa89418ffb436a1ece4946b (
plain)
1
2
3
4
5
6
7
8
9
|
class UserProjectAccessChangedService
def initialize(user_ids)
@user_ids = Array.wrap(user_ids)
end
def execute
AuthorizedProjectsWorker.bulk_perform_and_wait(@user_ids.map { |id| [id] })
end
end
|