Sha256: 5453938dc761dbd16eb31ec63550ed6d8d5977259f75b9b80bf75c3e15b72c19

Contents?: true

Size: 486 Bytes

Versions: 4

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class Ups
      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,
          **params
        )
          @usps_tracking_number = usps_tracking_number
          super(**params)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
friendly_shipping-0.9.0 lib/friendly_shipping/services/ups/label.rb
friendly_shipping-0.8.1 lib/friendly_shipping/services/ups/label.rb
friendly_shipping-0.8.0 lib/friendly_shipping/services/ups/label.rb
friendly_shipping-0.7.3 lib/friendly_shipping/services/ups/label.rb