Class: FriendlyShipping::Services::Ups::Label
- Defined in:
- lib/friendly_shipping/services/ups/label.rb
Instance Attribute Summary collapse
-
#usps_tracking_number ⇒ Object
readonly
Returns the value of attribute usps_tracking_number.
Attributes inherited from Label
#cost, #data, #id, #label_data, #label_format, #label_href, #service_code, #shipment_cost, #shipment_id, #tracking_number
Instance Method Summary collapse
-
#initialize(usps_tracking_number: nil, **params) ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize(usps_tracking_number: nil, **params) ⇒ Label
Returns a new instance of Label.
10 11 12 13 14 15 16 |
# File 'lib/friendly_shipping/services/ups/label.rb', line 10 def initialize( usps_tracking_number: nil, **params ) @usps_tracking_number = usps_tracking_number super(**params) end |
Instance Attribute Details
#usps_tracking_number ⇒ Object (readonly)
Returns the value of attribute usps_tracking_number.
7 8 9 |
# File 'lib/friendly_shipping/services/ups/label.rb', line 7 def usps_tracking_number @usps_tracking_number end |