Class: SampleManifestExcel::TestDownload

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, SequencescapeExcel::Helpers::Download
Defined in:
app/sample_manifest_excel/sample_manifest_excel/test_download.rb

Overview

Test download

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SequencescapeExcel::Helpers::Download

#save, #workbook, #xls

Constructor Details

#initialize(attributes = {}) ⇒ TestDownload

Returns a new instance of TestDownload.



12
13
14
# File 'app/sample_manifest_excel/sample_manifest_excel/test_download.rb', line 12

def initialize(attributes = {})
  @worksheet = SampleManifestExcel::Worksheet::TestWorksheet.new(attributes.merge(workbook:))
end

Instance Attribute Details

#worksheetObject (readonly)

Returns the value of attribute worksheet.



10
11
12
# File 'app/sample_manifest_excel/sample_manifest_excel/test_download.rb', line 10

def worksheet
  @worksheet
end