mattmueller/foursquare2 — Issue #19: Add user_mayorships()
Author: tgudlek
Created: 2011-11-30 12:57:51+00:00
State: open

```
module Foursquare2
module Users
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
end
end
```