I am trying to use the Podio gem in a Ruby on Rails application, but am getting an error saying "undefined method `setup' for Podio:Module". I've bundled and restarted server, and have proper credentials.
The Podio variable in Rails seems to be different from the simple Ruby script that I've used for testing. In Rails, the methods that are available from the gem are only 'api_key, api_secret, api_url, configure, debug=, api_key=, api_secret=, api_url=, debug'. Neither 'setup' nor 'client', which I'm attempting to use, seem to be available.
Authentication works just fine in a simple Ruby script, where all these methods are available.
Any idea what is going wrong here?
Please sign in to leave a comment.