lib/foursquare2/users.rb
def user_set_friend_pings(user_id, value)
      response = connection.post do |req|
        req.url "users/#{user_id}/setpings", value
      end
      return_error_or_body(response, response.body.response)
    end
def user_set_friend_pings(user_id, value)
      response = connection.post do |req|
        req.url "users/#{user_id}/setpings", value
      end
      return_error_or_body(response, response.body.response)
    end
Set pings for a friend

 @param [String] user_id - The user to set pings for
 @param [String] value - The value of ping setting for this friend, either true or false.