Skip to content

Commit d18edf9

Browse files
authored
Keyword argument fix
1 parent 4bef71a commit d18edf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ result = ConvertApi.convert('pdf', { File: 'https://website/my_file.docx' })
6767
```ruby
6868
result = ConvertApi.convert(
6969
'pdf',
70-
{ File: /path/to/my_file',
71-
from_format: 'docx' }
70+
{File: /path/to/my_file'},
71+
from_format: 'docx'
7272
)
7373
```
7474
@@ -80,9 +80,9 @@ parameters and explanations can be found [here](https://www.convertapi.com).
8080
```ruby
8181
result = ConvertApi.convert(
8282
'pdf',
83-
{ File: /path/to/my_file.docx',
83+
{File: /path/to/my_file.docx',
8484
PageRange: '1-10',
85-
PdfResolution: '150' }
85+
PdfResolution: '150'}
8686
)
8787
```
8888

0 commit comments

Comments
 (0)