Created
September 18, 2014 06:30
-
-
Save garethstokes/8dbae7808f7db7c5ec13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def import | |
case @options[:datasource] | |
when 'hagrid_report' | |
return Tentacles::Import::Hagrid | |
when 'file' | |
return Tentacles::Import::File | |
when 'mysql' | |
return Tentacles::Import::MySql | |
else | |
puts "Unsupported extractor." | |
exit | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment