Class: Finale::Shipment
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Finale::Shipment
- Defined in:
- lib/finale/shipment.rb
Instance Method Summary collapse
Instance Method Details
#lot_ids ⇒ Object
3 4 5 |
# File 'lib/finale/shipment.rb', line 3 def lot_ids (shipmentItemList || []).map { |item| item[:lotId] }.compact end |
#order_id ⇒ Object
7 8 9 |
# File 'lib/finale/shipment.rb', line 7 def order_id self.primaryOrderUrl.split('/')&.last end |