Skip to content

Commit ff3e85c

Browse files
committed
Merge pull request #57 from ismasan/fix_readme_merge_example
Fix readme merge example
2 parents 8036266 + f082605 commit ff3e85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Example API client:
1616
```ruby
1717
api = Hyperclient.new('http://myapp.com/api').tap do |api|
1818
api.digest_auth('user', 'password')
19-
api.headers.merge({'accept-encoding' => 'deflate, gzip'})
19+
api.headers.update({'accept-encoding' => 'deflate, gzip'})
2020
end
2121
```
2222

0 commit comments

Comments
 (0)