You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoMethodError: undefined method blank?' for "access token":String from /Library/Ruby/Gems/1.8/gems/foursquare-api-0.0.5/lib/foursquare_node.rb:13:inperform_graph_request'
from /Library/Ruby/Gems/1.8/gems/foursquare-api-0.0.5/lib/foursquare_venue.rb:31:in `search'
from (irb):3
The text was updated successfully, but these errors were encountered:
I believe the .blank? method is introduced by Rails (http://api.rubyonrails.org/classes/Object.html#method-i-blank%3F) but Rails is not a dependency for this gem.
I'm testing via irb on ruby 1.8.7 and the example from the README fails:
=> true
=> #<Foursquare::Venue:0x1013ac468 @base_url="https://api.foursquare.com:443/v2/", @access_token="access token">
NoMethodError: undefined method
blank?' for "access token":String from /Library/Ruby/Gems/1.8/gems/foursquare-api-0.0.5/lib/foursquare_node.rb:13:in
perform_graph_request'from /Library/Ruby/Gems/1.8/gems/foursquare-api-0.0.5/lib/foursquare_venue.rb:31:in `search'
from (irb):3
The text was updated successfully, but these errors were encountered: