lib/drive_env/cli/spreadsheet.rb in drive_env-0.2.1 vs lib/drive_env/cli/spreadsheet.rb in drive_env-0.2.2
- old
+ new
@@ -87,10 +87,10 @@
end
@credential
end
def session
- @session ||= GoogleDrive.login_with_oauth(credential)
+ @session ||= GoogleDrive::Session.login_with_oauth(credential)
end
def worksheet(url_or_alias)
url = config.lookup_spreadsheet_url_by_alias(url_or_alias) || url_or_alias
spreadsheet = session.spreadsheet_by_url(url)