Class: Shipping::PackageShipmentTracking::Result
- Inherits:
-
Data
- Object
- Data
- Shipping::PackageShipmentTracking::Result
- Defined in:
- app/services/shipping/package_shipment_tracking.rb
Instance Attribute Summary collapse
-
#shipments_tracking_failed ⇒ Object
readonly
Returns the value of attribute shipments_tracking_failed.
-
#shipments_tracking_failed_msgs ⇒ Object
readonly
Returns the value of attribute shipments_tracking_failed_msgs.
-
#shipments_tracking_succeeded ⇒ Object
readonly
Returns the value of attribute shipments_tracking_succeeded.
Instance Method Summary collapse
-
#initialize(shipments_tracking_succeeded: nil, shipments_tracking_failed: nil, shipments_tracking_failed_msgs: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(shipments_tracking_succeeded: nil, shipments_tracking_failed: nil, shipments_tracking_failed_msgs: nil) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/shipping/package_shipment_tracking.rb', line 3 def initialize(shipments_tracking_succeeded: nil, shipments_tracking_failed: nil, shipments_tracking_failed_msgs: nil) = super |
Instance Attribute Details
#shipments_tracking_failed ⇒ Object (readonly)
Returns the value of attribute shipments_tracking_failed
2 3 4 |
# File 'app/services/shipping/package_shipment_tracking.rb', line 2 def shipments_tracking_failed @shipments_tracking_failed end |
#shipments_tracking_failed_msgs ⇒ Object (readonly)
Returns the value of attribute shipments_tracking_failed_msgs
2 3 4 |
# File 'app/services/shipping/package_shipment_tracking.rb', line 2 def shipments_tracking_failed_msgs @shipments_tracking_failed_msgs end |
#shipments_tracking_succeeded ⇒ Object (readonly)
Returns the value of attribute shipments_tracking_succeeded
2 3 4 |
# File 'app/services/shipping/package_shipment_tracking.rb', line 2 def shipments_tracking_succeeded @shipments_tracking_succeeded end |