Class: Card::Migration::Import::Merger
- Inherits:
-
Object
- Object
- Card::Migration::Import::Merger
- Defined in:
- lib/card/migration/import/merger.rb
Overview
executes the card import
Instance Method Summary collapse
-
#initialize(data_path, opts = {}) ⇒ Merger
constructor
A new instance of Merger.
- #merge ⇒ Object
Constructor Details
#initialize(data_path, opts = {}) ⇒ Merger
Returns a new instance of Merger.
6 7 8 9 10 |
# File 'lib/card/migration/import/merger.rb', line 6 def initialize data_path, opts={} @data_path = data_path @output_path = File.join data_path, "unmerged" @data = ImportData.load @data_path, opts end |