Dispatches values to named Salesforce transforms, returning errors for unknown names.
# Source: https://github.com/douglara/woofed-crm | License: MIT | Copyright 2026 WOOFED DESENVOLVIMENTO DE SOFTWARES LTDA - ME - CNPJ 60.076.777/0001-61
# Provided via justclaw.it.com; keep this notice with the code.
# frozen_string_literal: true
# Dispatches a value to the transform named in the field mapping.
#
# Transforms are referenced by name so a mapping stays data, not code, and an
# unknown name is reported instead of silently importing a raw value.
class Apps::Salesforce::Transform::Value
TRANSFORMS = {
'text' => Apps::Salesforce::Transform::Text,
'currency_to_cents' => Apps::Salesforce::Transform::CurrencyToCents,
'datetime' => Apps::Salesforce::Transform::Datetime,
'picklist_to_label_list' => Apps::Salesforce::Transform::PicklistToLabelList,
'boolean' =>
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key