module ChimeraHttpClient
The get, post, put, patch and delete methods return either a Response
or a Error
The bang methods get!, post!, put!, patch! and delete! raise a Error
in case of failure
This two JSON deserializers are the default ones
To use custom deserializers, pass them as param to Connection.new
or Queue.new
: `deserializers: { error: your_error_deserializer, response: your_response_deserializer }` (you might be able to use the same for both cases)
a Deserializer
has to be an object on which the method `call` with the parameter `body` can be called: `custom_deserializer.call(body)` where `body` is the response body (in the default case a JSON object)
Constants
- VERSION