Module: LabelZoom

Defined in:
lib/labelzoom.rb,
lib/labelzoom/client.rb,
lib/labelzoom/errors.rb,
lib/labelzoom/formats.rb,
lib/labelzoom/options.rb,
lib/labelzoom/version.rb,
lib/labelzoom/conversion_result.rb

Overview

See lib/labelzoom.rb for the module overview.

Defined Under Namespace

Modules: Formats, Options Classes: APIError, BadRequestError, Client, ConversionResult, Error, ForbiddenError, NotFoundError, PayloadTooLargeError, RateLimitedError, ServerError, TransportError, UnauthorizedError, ValidationError

Constant Summary collapse

SOURCE_FORMATS =
Formats::SOURCE_FORMATS
TARGET_FORMATS =
Formats::TARGET_FORMATS
UNSET =

The sentinel for "the caller did not pass this".

Not nil, and not a missing key in a **options splat. watermark: false and pdf: { page_number: 0 } are meaningful values a caller sets deliberately, so falsiness cannot stand in for absence -- the same reason the Python SDK carries an UNSET singleton.

Object.new
VERSION =

The gem version. It appears in the User-Agent of every request, so the release workflow asserts that it matches the ruby/vX.Y.Z tag being published.

"1.0.0"