Module: Peddler::Notifications::ShipmentTrackingMilestoneChanged

Defined in:
lib/peddler/notifications/shipment_tracking_milestone_changed.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/payload.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/notification.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_detail.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/bounded_interval.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/carrier_tracking.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_estimate.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_milestone.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_identifier.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/notification_metadata.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_milestone_status.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_milestone_address.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/tracking_milestone_location.rb,
lib/peddler/notifications/shipment_tracking_milestone_changed/shipment_tracking_milestone_changed_notification.rb,
sig/peddler/notifications/shipment_tracking_milestone_changed.rbs

Overview

The shipment tracking milestone change notification, with metadata and payload.

Defined Under Namespace

Classes: BoundedInterval, CarrierTracking, Notification, NotificationMetadata, Payload, ShipmentTrackingMilestoneChangedNotification, TrackingDetail, TrackingEstimate, TrackingIdentifier, TrackingMilestone, TrackingMilestoneAddress, TrackingMilestoneLocation, TrackingMilestoneStatus

Class Method Summary collapse

Class Method Details

.parse(hash) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

Parameters:

  • (Hash[String | Symbol, untyped])

Returns:



12
13
14
# File 'lib/peddler/notifications/shipment_tracking_milestone_changed.rb', line 12

def parse(hash)
  Notification.parse(hash)
end