README.md in docdata-0.1.1 vs README.md in docdata-0.1.2
- old
+ new
@@ -85,10 +85,10 @@
Example usage. Use appropriate settings in `development.rb`, `production.rb` etc.
```ruby
config.docdata.username = "my_app_com"
config.docdata.password = "HeJ35N"
config.docdata.return_url = "http://localhost:3000/docdata" # gets appended by '/success', '/error', '/pending' depending on response
-config.test_mode = true
+config.docdata.test_mode = true
```
## Example usage in Rails application
The example below assumes you have your application set up with a Order model, which contains the information needed for this transaction (amount, name, etc.).