README.md in wp-hmac-0.2.2 vs README.md in wp-hmac-0.2.3
- old
+ new
@@ -62,16 +62,16 @@
### Using the client
Use like this ...
``` ruby
WP::HMAC::Client.get('https://www.example.com/api/staff')
- WP::HMAC::Client.post('https://www.example.com/api/schedules, {'HEADER' => 'foo'}, StringIO.new('data'))
+ WP::HMAC::Client.post('https://www.example.com/api/schedules, {'HEADER' => 'foo'}, 'data')
```
... or like this:
``` ruby
client = WP::HMAC::Client.new('https://www.example.com')
client.get('api/staff')
- client.post('api/schedules', {}, StringIO.new('data'))
+ client.post('api/schedules', {}, 'data')
```
See Rack::Client docs for more.
## Testing