restebanez/agifog — pull request #4 by restebanez (2012-06-08 11:59:57+00:00)
Title: Feature/iam users

Hi @harryw and @benton ,

This pull requests adds the following Agifog resources:

/api/v1/iam/users
/api/v1/iam/users/:user_id/policies
/api/v1/iam/users/:user_id/access_keys

There has been a major refactor to remove duplicate code from the controller. All the exceptions are now turn into http 4xx errors using __response_with_proper_error__.
The specs have also been changed dramatically comparing with other resources. The gem [json_spec](https://github.com/collectiveidea/json_spec) has been use that makes json expectations much more readable and shorter.