Sha256: 86d74385fb118377b10368eaee24611a6a15e967d646593b3a406625a3855dbf

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

module Workarea
  module GlobalE
    class TrackingDetails
      attr_reader :tracking_number

      def initialize(tracking_number:)
        @tracking_number = tracking_number
      end

      def as_json(*)
        { TrackingNumber: tracking_number }
      end

      # The tracking number as the shipper has specified.
      #
      # @return [String]
      #
      def tracking_number
        @tracking_number
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-global_e-1.3.0 app/services/workarea/global_e/tracking_details.rb
workarea-global_e-1.2.1 app/services/workarea/global_e/tracking_details.rb