test/sync.rb in docraptor-0.1.0 vs test/sync.rb in docraptor-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
DocRaptor.configure do |dr|
dr.username = "YOUR_API_KEY_HERE"
# dr.debugging = true
end
-$docraptor = DocRaptor::ClientApi.new
+$docraptor = DocRaptor::DocApi.new
$docraptor.create_doc(
test: true,
document_content: "<html><body>Hello from Ruby</body></html>",
name: "ruby-sync.pdf",