Class: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
- Defined in:
- sig/peddler/notifications/shipment_tracking_milestone_changed.rbs
Instance Attribute Summary collapse
-
#code ⇒ String
readonly
Returns the value of attribute code.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#sub_code ⇒ String?
readonly
Returns the value of attribute sub_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :code, :description, :sub_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
Instance Method Summary collapse
-
#members ⇒ [ :code, :description, :sub_code ]
-
#to_h ⇒ { code: String, description: String, sub_code: String? }
Instance Attribute Details
#code ⇒ String (readonly)
Returns the value of attribute code.
232 233 234 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 232 def code @code end |
#description ⇒ String (readonly)
Returns the value of attribute description.
233 234 235 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 233 def description @description end |
#sub_code ⇒ String? (readonly)
Returns the value of attribute sub_code.
234 235 236 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 234 def sub_code @sub_code end |
Class Method Details
.[](code:, description:, sub_code:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus .[](arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
225 226 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 225
def self.[]: (code: String, description: String, ?sub_code: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
| (String, String, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
|
.members ⇒ [ :code, :description, :sub_code ]
228 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 228
def self.members: () -> [ :code, :description, :sub_code ]
|
.new(code:, description:, sub_code:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus .new(arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
223 224 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 223
def self.new: (code: String, description: String, ?sub_code: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
| (String, String, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
|
.parse ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
230 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 230
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus
|
Instance Method Details
#members ⇒ [ :code, :description, :sub_code ]
236 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 236
def members: () -> [ :code, :description, :sub_code ]
|
#to_h ⇒ { code: String, description: String, sub_code: String? }
237 |
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 237
def to_h: () -> { code: String, description: String, sub_code: String? }
|