README.md in api_client_base-1.5.0 vs README.md in api_client_base-1.6.0

- old
+ new

@@ -195,18 +195,22 @@ ``` client = MyGem::Client.new #... client.get_user(user_id: nil) # -> this raises an ArgumentError "[user_id: 'must be filled']" ``` +##### Proxy +Requests automatically have `proxy`. If set and you are relying on using Typhoeus, proxy will be passed on and used by Typhoeus. + #### Responses ```ruby module MyGem class GetUserResponse include APIClientBase::Response.module # - has `#status` method that is delegated to `raw_response.status` # - has `#code` method to get the response's code # - has `#raw_response` which is a Typhoeus response object + # - has `#success` which is delegated to `raw_response.success?`. May be accessed via `#success?` # You're encouraged to use Virtus attributes to extract information cleanly attribute :id, Integer, lazy: true, default: :default_id attribute :name, String, lazy: true, default: :default_name attribute :body, Object, lazy: true, default: :default_body