Method: Pdfcrowd::ImageToPdfClient#convertUrl
- Defined in:
- lib/pdfcrowd.rb
#convertUrl(url) ⇒ Object
3597 3598 3599 3600 3601 3602 3603 3604 |
# File 'lib/pdfcrowd.rb', line 3597 def convertUrl(url) unless /(?i)^https?:\/\/.*$/.match(url) raise Error.new(Pdfcrowd.(url, "convertUrl", "image-to-pdf", "Supported protocols are http:// and https://.", "convert_url"), 470); end @fields['url'] = url @helper.post(@fields, @files, @raw_data) end |