Method: TableImporter::Google#get_file
- Defined in:
- lib/table_importer/google.rb
#get_file(file_key, access_token) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/table_importer/google.rb', line 19 def get_file(file_key, access_token) begin Roo::Google.new(file_key, {:access_token => access_token}) rescue TypeError raise TableImporter::IncorrectFileError.new end end |