I'm being asked to use this api to retrieve the data because the ror
application won't have any database to store the users information, the
database will only be accessed by this api.
For example for creating a new user I have to send a post request with a
json format to the url: api.server.com/api/v/user/subs
I guess the first problem is the rails conventions for pluralize
collections, so it write users instead of user like is needed in the
url, the second problem is that after user I need to and, in this action
of create a new user, the /subs and I don't know how to do this.
After that problem I have another issue in the body of the request it
sends the json like this {"user":{"email":"mail"}}
but the api is expectin something like this {"email":"mail"}
After saying all this I want to know if it is a proper way to make
AResource to behave the way I need or if already exist a plugin/gem to
work with this kind of APIs or if a need to come with a new solution and
leave behind AR