Sha256: 257f27fa380a7c5ce9d7f324215d9ec260c731a0ae18f65816f37ee723b6343d
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module FriendlyShipping module Services class TForceFreight # A shipping document (BOL, label, etc.) returned by the API. class ShipmentDocument # @return [String] the type of document attr_reader :document_type # @return [String] the format of the document attr_reader :document_format # @return [String] the document's binary data attr_reader :binary # @return [String] the status of the document attr_reader :status # @param document_type [String] the type of document # @param document_format [String] the format of the document # @param binary [String] the document's binary data # @param status [String] the status of the document (defaults to `nil`) def initialize( document_type:, document_format:, binary:, status: nil ) @document_type = document_type @document_format = document_format @binary = binary @status = status end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
friendly_shipping-0.9.0 | lib/friendly_shipping/services/tforce_freight/shipment_document.rb |