code: def user_mayorships(user_id, options={})
        response = connection.get do |req|
          req.url "users/#{user_id}/mayorships", options
        end
        return_error_or_body(response, response.body.response.mayorships)
      end
docs: Get the mayorships for a given user.
  
   @param [String] user_id - The user to retrieve friends for.