Sha256: e4832ba7e6d855d94a6f7884b03fd3795da7ecfd243bd8be93b56880ee768777
Contents?: true
Size: 701 Bytes
Versions: 14
Compression:
Stored size: 701 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class UpsFreight class GenerateDocumentOptionsHash def self.call(document_options:) { Type: { Code: document_options.document_type_code }, LabelsPerPage: document_options.labels_per_page, Format: { Code: document_options.format_code }, PrintFormat: { Code: document_options.thermal_code, }, PrintSize: { Length: document_options.length, Width: document_options.width, } } end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems