We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd9201 commit 7bfb746Copy full SHA for 7bfb746
examples/convert_word_to_pdf_and_png.rb
@@ -13,7 +13,7 @@
13
upload_io = ConvertApi::UploadIO.new(File.open('files/test.docx'))
14
15
saved_files = ConvertApi
16
- .convert('pdf', File: upload_io)
+ .convert('pdf', {File: upload_io})
17
.save_files(Dir.tmpdir)
18
19
puts "The PDF saved to: #{saved_files}"
0 commit comments