This is a gem to access the amiando REST API. You can check the original documentation here:
The gem has been implemented with the idea that requests can be done in parallel using Typhoeus.
You can query multiple requests and run then like this:
albert = Amiando::User.find(1234) jorge = Amiando::User.find(5678) Amiando.run
Both requests will happen in parallel.
You can also do synchronous requests by prepending ‘sync_’ to the method name:
albert = Amiando::User.sync_find(1234)
All attributes should be used in snake_case format instead of the CamelCase used in the official documentation. For example, for a user, you should call first_name instead of firstName.
The full amiando API isn’t fully implemented yet, however you can find here the ones currently available.