Class: EasyExports::Export

Inherits:
Object
  • Object
show all
Defined in:
lib/easy_exports/export.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exported_data, exported_data_csv_string) ⇒ Export

Returns a new instance of Export.



7
8
9
10
# File 'lib/easy_exports/export.rb', line 7

def initialize(exported_data, exported_data_csv_string)
  @data = exported_data
  @csv_string = exported_data_csv_string
end

Instance Attribute Details

#csv_stringObject (readonly)

Returns the value of attribute csv_string.



5
6
7
# File 'lib/easy_exports/export.rb', line 5

def csv_string
  @csv_string
end

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/easy_exports/export.rb', line 5

def data
  @data
end