Module: BulkSubmissionExcel

Defined in:
app/bulk_submission_excel/bulk_submission_excel.rb,
app/bulk_submission_excel/bulk_submission_excel/download.rb,
app/bulk_submission_excel/bulk_submission_excel/configuration.rb,
app/bulk_submission_excel/bulk_submission_excel/worksheet/data_worksheet.rb

Overview

Creates a Bulk Submission Spreadsheet from a bulk submission object

Defined Under Namespace

Modules: Worksheet Classes: Configuration, Download, DownloadsController

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'app/bulk_submission_excel/bulk_submission_excel.rb', line 16

def self.configure
  yield(configuration)
end

.reset!Object



20
21
22
# File 'app/bulk_submission_excel/bulk_submission_excel.rb', line 20

def self.reset!
  @configuration = Configuration.new
end