README.md in rack-simple_auth-0.0.2 vs README.md in rack-simple_auth-0.0.3
- old
+ new
@@ -58,26 +58,32 @@
Via the config hash you are able to define the 'data' for each request method.<br />
This data + HTTP Methodname is your Message what will be encrypted.<br />
For example ```GET '/get/user?name=rack'```:
+
```ruby
-config = { 'GET => 'path' }
+config = { 'GET' => 'path' }
```
The Message what will be HMAC encrypted is:
+
```ruby
message = { 'method' => 'GET', 'data' => '/get/user?name=rack' }.to_json
```
+
+
## Contributing
1. Fork it ( http://github.com/benny1992/rack-simple_auth/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
+
+