Method: TableImporter::Google#get_file
- Defined in:
- lib/table_importer/google.rb
#get_file(file_key, access_token) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/table_importer/google.rb', line 26 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 |