mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-19 07:32:34 +08:00
12 lines
270 B
Ruby
12 lines
270 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RepositoryStockZipExportJob < ZipExportJob
|
||
|
private
|
||
|
|
||
|
# Overrride
|
||
|
def fill_content(dir, params)
|
||
|
data = RepositoryStockLedgerZipExport.to_csv(params[:repository_row_ids])
|
||
|
File.binwrite("#{dir}/export.csv", data)
|
||
|
end
|
||
|
end
|