lazy_google_analytics
lazy_google_analytics copied to clipboard
NoMethodError: undefined method `columns'
calling columns or rows results in the following error @results.columns NoMethodError: undefined method `columns' for #Google::APIClient::Result:0x007f8984cdc638
and also the same error for formatted_rows, formatted_columns
can you paste your implementation? is hard to tell which is the problem without code
the code is exactly the same as the docs
calling @results.data.column_headers works properly as does @results.data.rows
Thanks, I will review it asap
Atte. Miguel Michelson Martinez www.artenlinea.com
On Mon, Aug 26, 2013 at 11:18 AM, TheBatman [email protected]:
the code is exactly the same as the docs
calling @results.data.column_headers works properly as does @results.data.rows
— Reply to this email directly or view it on GitHubhttps://github.com/michelson/lazy_google_analytics/issues/2#issuecomment-23270083 .
I'm having the same problem here. I'm not sure whether there is an authentication error or not. If there is one, will there be a notification?
the authentication error looks like;
Signet::AuthorizationError: Authorization failed. Server message: { "error" : "invalid_grant" }
Yes, it Looks like an authentication issue
El jueves, 29 de agosto de 2013, Connor escribió:
the authentication error looks like;
Signet::AuthorizationError: Authorization failed. Server message: { "error" : "invalid_grant" }
— Reply to this email directly or view it on GitHubhttps://github.com/michelson/lazy_google_analytics/issues/2#issuecomment-23475520 .
Atte. Miguel Michelson Martinez www.artenlinea.com
For me, there was no authentication error. I could access the data, but there were no rows, columns, formatted_columns nor formatted_rows in the methods. I still can access the data by calling:
@data = @results.data.rows