Class: Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/shipment_tracking_milestone_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#payloadPeddler::Notifications::ShipmentTrackingMilestoneChanged::Payload (readonly)

Returns the value of attribute payload.



14
15
16
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 14

def payload
  @payload
end

Class Method Details

.[](payload:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification .[](arg0) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification



7
8
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 7

def self.[]: (payload: Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification
| (Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

.members[ :payload ]

Returns:

  • ([ :payload ])


10
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 10

def self.members: () -> [ :payload ]

.new(payload:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification .new(arg0) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification



5
6
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 5

def self.new: (payload: Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification
| (Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

.parsePeddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



12
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::Notification

Instance Method Details

#members[ :payload ]

Returns:

  • ([ :payload ])


16
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 16

def members: () -> [ :payload ]

#to_h{ payload: Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload }



17
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 17

def to_h: () -> { payload: Peddler::Notifications::ShipmentTrackingMilestoneChanged::Payload }