README.md in form_api-0.1.1 vs README.md in form_api-0.1.2

- old
+ new

@@ -33,18 +33,27 @@ end formapi = FormAPI::Client.new response = formapi.generate_pdf( - template_id: '<TEMPLATE_ID>', # ID of a template that you have configured - test: true, # Test documents are free but watermarked - template_data: { # Data to fill in the template + template_id: 'YOUR_TEMPLATE_ID', # ID of a template that you have configured + 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 } ) - +# { +# status: "success", +# submission: { +# id: "bymRSZYTKDnd6jfY", +# test: true, +# state: "processed", +# download_url: "https://..." +# } +# } ``` This submits a PDF request and waits for the job to finish.