lib/updateagent/updaters/people_updater.rb in onebody-updateagent-0.5.1 vs lib/updateagent/updaters/people_updater.rb in onebody-updateagent-0.5.2
- old
+ new
@@ -3,10 +3,10 @@
self.resource = Person
# split out family data and create a new FamilyUpdater
def initialize(filename, options={})
super(filename, options)
- if options[:converter]
+ if options['converter']
converter = Kernel.const_get(@options['converter']['name'] + 'Converter').new(@options['converter'])
@data = converter.convert(@data.clone)
@attributes = @data.first.keys
end
check_for_missing_columns