Module: Pdfcrowd

Defined in:
lib/pdfcrowd.rb,
lib/pdfcrowd.rb

Overview

PDFCrowd cloud version client ===

Defined Under Namespace

Classes: Client, ConnectionHelper, Error, HtmlToImageClient, HtmlToPdfClient, ImageToImageClient, ImageToPdfClient, PdfToHtmlClient, PdfToPdfClient, PdfToTextClient

Constant Summary collapse

HOST =
ENV["PDFCROWD_HOST"] || 'api.pdfcrowd.com'
MULTIPART_BOUNDARY =
'----------ThIs_Is_tHe_bOUnDary_$'
CLIENT_VERSION =
'5.17.0'

Class Method Summary collapse

Class Method Details

.create_invalid_value_message(value, field, converter, hint, id) ⇒ Object



737
738
739
740
741
# File 'lib/pdfcrowd.rb', line 737

def self.create_invalid_value_message(value, field, converter, hint, id)
    message = "Invalid value '%s' for %s." % [value, field]
    message += " " + hint if hint
    return message + " " + "Details: https://www.pdfcrowd.com/api/%s-ruby/ref/#%s" % [converter, id]
end