From c51cb167191b12454107a867c73d458691afbf4c Mon Sep 17 00:00:00 2001 From: Brody Date: Thu, 1 Feb 2024 21:10:41 -0800 Subject: [PATCH] Add `Carrier#public_tracking_uri` --- lib/freight_kit/carrier.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/freight_kit/carrier.rb b/lib/freight_kit/carrier.rb index 8676620..e482e4d 100644 --- a/lib/freight_kit/carrier.rb +++ b/lib/freight_kit/carrier.rb @@ -87,6 +87,13 @@ def pickup_number_is_tracking_number? false end + # Publicly accessible URI for tracking based on tracking number. + # @param [String] tracking_number Tracking number. + # @return [URI, nil] + def public_tracking_uri(tracking_number) + nil + end + # Returns the keywords passed to `#initialize` that cannot be blank. # @return [Array] def requirements