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, PdfToPdfClient

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

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



735
736
737
738
739
# File 'lib/pdfcrowd.rb', line 735

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/doc/api/%s/ruby/#%s" % [converter, id]
end