mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 00:49:07 +08:00
11 lines
215 B
Ruby
11 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Recipients::RepositoryRowCreator
|
|
def initialize(params)
|
|
@params = params
|
|
end
|
|
|
|
def recipients
|
|
[RepositoryRow.find(@params[:repository_row_id]).created_by]
|
|
end
|
|
end
|