Module: CsvMapper::ControllerActions::ClassMethods
- Defined in:
- lib/csv_mapper/controller_actions.rb
Instance Method Summary collapse
Instance Method Details
#csv_mapper_config(options = {}) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/csv_mapper/controller_actions.rb', line 12 def csv_mapper_config( = {} ) defaults = { :action => :import, :mapping => {}, :file_field => :file } = defaults.merge() write_inheritable_attribute(:map_fields_options, ) end |