Class: FreightKit::PickupResponse
- Defined in:
- lib/freight_kit/models/pickup_response.rb
Overview
The ‘PickupResponse` object is returned by the Carrier#create_pickup call. The most important method is #pickup_number, which will return the pickup reference number.
Instance Attribute Summary collapse
-
#labels ⇒ Array<FreightKit::Label>
Shipping labels.
-
#pickup_number ⇒ String
Pickup reference number.
Attributes inherited from Response
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from FreightKit::Model
Instance Attribute Details
#labels ⇒ Array<FreightKit::Label>
Shipping labels.
16 17 18 |
# File 'lib/freight_kit/models/pickup_response.rb', line 16 class PickupResponse < Response attr_accessor :labels, :pickup_number end |
#pickup_number ⇒ String
Pickup reference number.
16 17 18 |
# File 'lib/freight_kit/models/pickup_response.rb', line 16 class PickupResponse < Response attr_accessor :labels, :pickup_number end |