Closed rpitting closed 10 years ago
When I try to run the sample-app with my app id and secret, after clicking the try to authorize link, I get the following error:
undefined method `authorize_url' for nil:NilClass
The line causing the error:
redirect Podio.client.authorize_url(:redirect_uri => redirect_uri)
When inspecting the app with RubyMine, the error seems to happen in
Faraday::Connection.new(:url => api_url, :headers => configured_headers, :request => {:client => self}) do |builder|
Can you give me any hint?
Using OS X 10.9, ruby-2.0.0p247 and the latest podia-gem.
Hi Reiner,
seems Sinatra changed a little bit, I've updated the example. Does this work for you now?
Yes, that fixed the problem, thank you!
When I try to run the sample-app with my app id and secret, after clicking the try to authorize link, I get the following error:
The line causing the error:
When inspecting the app with RubyMine, the error seems to happen in
Can you give me any hint?
Using OS X 10.9, ruby-2.0.0p247 and the latest podia-gem.