Class: Shipping::PackageShipmentTracking::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/shipping/package_shipment_tracking.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_failedObject (readonly)

Returns the value of attribute shipments_tracking_failed

Returns:

  • (Object)

    the current value of 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_msgsObject (readonly)

Returns the value of attribute shipments_tracking_failed_msgs

Returns:

  • (Object)

    the current value of 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_succeededObject (readonly)

Returns the value of attribute shipments_tracking_succeeded

Returns:

  • (Object)

    the current value of shipments_tracking_succeeded



2
3
4
# File 'app/services/shipping/package_shipment_tracking.rb', line 2

def shipments_tracking_succeeded
  @shipments_tracking_succeeded
end