mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 20:56:42 +08:00
18 lines
359 B
Ruby
18 lines
359 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Lists
|
|
class StorageLocationsService < BaseService
|
|
def initialize(team, params)
|
|
@team = team
|
|
@parent_id = params[:parent_id]
|
|
@params = params
|
|
end
|
|
|
|
def fetch_records
|
|
@records = StorageLocation.where(team: @team, parent_id: @parent_id)
|
|
end
|
|
|
|
def filter_records
|
|
end
|
|
end
|
|
end
|