Sha256: b977dcf40b7015308cf5cf3b8efa508ee4fc344875c806f04abdc577b1eb7bdb
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
require 'buildvu' buildvu = BuildVu.new'localhost:8080/microservice-example' # convert returns a URL (string) where you can view the converted output. output_url = buildvu.convert 'path/to/file.pdf' # Or alternatively: to upload a url pointing to a pdf file with: # output_url = buildvu.convert 'path/to/file.pdf', input_type: BuildVu::DOWNLOAD puts 'Converted: ' + output_url # You can also specify a directory to download the converted output to: # buildvu.convert('path/to/input.pdf', output_file_path: 'path/to/output/dir')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
buildvu-2.0.0 | example_usage.rb |