Skip to content

Commit

Permalink
Merge pull request #102 from chibicode/patch-1
Browse files Browse the repository at this point in the history
Clarify what "complete" configuration block means
  • Loading branch information
andyjeffries committed Sep 1, 2015
2 parents 5b1953d + b850293 commit 0996b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ActiveRestClient uses Faraday to allow switching HTTP backends, the default is P
ActiveRestClient::Base.adapter = :net_http
```

If you want more control you can pass a complete configuration block. For available config variables look into the Faraday documentation.
If you want more control you can pass a **complete** configuration block ("complete" means that the block does not *override* [the default configuration](https://github.com/whichdigital/active-rest-client/blob/5b1953d89e26c02ca74f74464ccb7cd4c9439dcc/lib/active_rest_client/configuration.rb#L184-L201), but rather *replaces* it). For available config variables look into the Faraday documentation.

```ruby
ActiveRestClient::Base.faraday_config do |faraday|
Expand Down

0 comments on commit 0996b62

Please sign in to comment.