Sha256: a39e3afeee6ee6fdd1b56d661e6208b3d590c9e4ebec28db4da9a0e88f77d1a0

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class UpsJson
      class Label < FriendlyShipping::Label
        attr_reader :usps_tracking_number

        # @param [String] usps_tracking_number The label's usps tracking number. Limited to SUREPOST
        def initialize(
          usps_tracking_number: nil,
          **kwargs
        )
          @usps_tracking_number = usps_tracking_number
          super(**kwargs)
        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/ups_json/label.rb