README.md in form_api-0.1.3 vs README.md in form_api-0.1.4
- old
+ new
@@ -22,11 +22,11 @@
```
## Usage
-See [examples](examples/) for runnable examples.
+See [examples](examples/) for some runnable examples.
```ruby
FormAPI.configure do |config|
config.username = "YOUR_API_TOKEN_ID"
config.password = "YOUR_API_TOKEN_SECRET"
@@ -39,9 +39,12 @@
test: true, # Test documents are free but watermarked
wait: true, # Wait for the PDF to be processed (default: true)
data: { # Data to render in the template
name: "foo",
number: 42
+ },
+ metadata: { # Custom data to include in the request, for your own purposes
+ user_id: 123
}
)
# {
# status: "success",