All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
after_responsehook- Add
#headersand#header(key)methods to response for easy access to the headers
dry-validation1.x support (0.x support has not been dropped)
- Allow users to override typhoeus_options to pass any args that we haven't defined
- Allow all Typhoeus options to be passed to BuildTyphoeusOptions. This is useful when overriding the method
typhoeus_optionsin requests
- Add
Response#bodywhich israw_response'sbody
- Move http-related code to Request#run. This is the one that should be overridden, instead of call, since
#callcalls other methods likebefore_call - Set
#proxyattribute to requests. This is passed to Typhoeus if present
- Allow developer to define
before_callin requests to execute code
hostconfiguration should not remove the path
- Support
hostconfigurations that already have a path
- Make defining of
pathin requests optional
- raise ArgumentError when validation schema is available and it has errors
Clientinherits attributes from gem namespace. No need to specify these attributes again.
- Ensure args are passed correctly into request instantiation
- bug with customizing the args of an
api_action(it didn't work at all!) - when building path, escape the values
- Convenience module for gem's base module
- Do not require arguments to be passed into api actions
- Do not singularize the action_name. Call camelize instead of classify
- Typhoeus is not a dependency; user must add it if they will use
Request#call
- Initial release