Skip to content

Commit 5d4e294

Browse files
authored
Keyword argument fix
1 parent 2c62b22 commit 5d4e294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/conversions_chaining.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
puts 'Converting PDF to JPG and compressing result files with ZIP'
1212

13-
jpg_result = ConvertApi.convert('jpg', File: 'files/test.pdf')
13+
jpg_result = ConvertApi.convert('jpg', {File: 'files/test.pdf'})
1414

1515
puts "Conversions done. Cost: #{jpg_result.conversion_cost}. Total files created: #{jpg_result.files.count}"
1616

0 commit comments

Comments
 (0)