Sha256: d4f47c142c5ea85b04f9d0fb4c609378e66372399a0e559a9ad36f7c235cf0ff
Contents?: true
Size: 646 Bytes
Versions: 14
Compression:
Stored size: 646 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class UpsFreight class GenerateEmailOptionsHash def self.call(email_options:) { EMailInformation: { EMailType: { Code: email_options.email_type_code, }, EMail: { EMailAddress: email_options.email, UndeliverableEMailAddress: email_options.undeliverable_email, EMailText: email_options.body, Subject: email_options.subject }.compact } } end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems