mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-19 23:51:26 +08:00
11 lines
270 B
Ruby
11 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
|