Class: DataShift::ExporterBase

Inherits:
Object
  • Object
show all
Defined in:
lib/exporters/exporter_base.rb

Direct Known Subclasses

CsvExporter, ExcelExporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExporterBase

Returns a new instance of ExporterBase.



15
16
17
# File 'lib/exporters/exporter_base.rb', line 15

def initialize
  @configuration = DataShift::Exporters::Configuration.call
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration.



12
13
14
# File 'lib/exporters/exporter_base.rb', line 12

def configuration
  @configuration
end

#file_nameObject

Returns the value of attribute file_name.



13
14
15
# File 'lib/exporters/exporter_base.rb', line 13

def file_name
  @file_name
end