The documentation on this gem is very slim. How can I actually use this? I can successfully access my Google spreadsheet using google_drive but how do I get it to work with roo-google?
The following code creates below error.
require 'roo-google'
spread = Roo::Spreadsheet.open('uuid', extension: :google)
spread.sheets
set access token
/var/lib/gems/2.3.0/gems/roo-google-1.0.0/lib/roo/google.rb:26:in `worksheets': undefined method `spreadsheet_by_key' for nil:NilClass (NoMethodError)
from /var/lib/gems/2.3.0/gems/roo-google-1.0.0/lib/roo/google.rb:30:in `sheets'
from events.seeds.rb:5:in `<main>'
Do I need to create a session first using google_drive? Please advise.
I should probably add versions:
ruby 2.3.1p112 (2016-04-26)
roo-google-1.0.0
roo-2.4.0
google_drive-1.0.6
The documentation on this gem is very slim. How can I actually use this? I can successfully access my Google spreadsheet using
google_drivebut how do I get it to work withroo-google?The following code creates below error.
Do I need to create a session first using
google_drive? Please advise.I should probably add versions: