lib/foursquare2/users.rb
def user_tips(user_id, options={})
      response = connection.get do |req|
        req.url "users/#{user_id}/tips", options
      end
      tips = return_error_or_body(response, response.body.response.tips)
      tips = Foursquare2.filter(tips, options[:query]) if options.has_key? :query
      tips
    end
def user_tips(user_id, options={})
      response = connection.get do |req|
        req.url "users/#{user_id}/tips", options
      end
      tips = return_error_or_body(response, response.body.response.tips)
      tips = Foursquare2.filter(tips, options[:query]) if options.has_key? :query
      tips
    end
def user_tips ( user_id , options = { } ) response = connection . get do | req | req . url "users/#{user_id}/tips" , options end tips = return_error_or_body ( response , response . body . response . tips ) tips = Foursquare2 . filter ( tips , options [ :query ] ) if options . has_key? :query tips end
Get all tips for a given user, optionally filtering by text.

 @param [String] user_id - The user to retrieve friends for.
 @param [Hash]  options
 @option options Integer :limit
 @option options Integer :offest - For paging through results
 @option options String :sort - One of recent, nearby, popular
 @option options String :ll - Latitude and longitude in format LAT,LON - required for nearby sort option.
 @option String :query - Only find tips matching this term.
Get all tips for a given user optionally filtering by text .