Class: ShipmentEventStatusSummary::Badge
- Inherits:
-
Data
- Object
- Data
- ShipmentEventStatusSummary::Badge
- Defined in:
- app/services/shipment_event_status_summary.rb
Overview
Value object describing the rendered status icon. Same field set as
FreightEventStatusSummary::Badge so the helper that renders both
families stays uniform.
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#event_time ⇒ Object
readonly
Returns the value of attribute event_time.
-
#icon ⇒ Object
readonly
Returns the value of attribute icon.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#tooltip ⇒ Object
readonly
Returns the value of attribute tooltip.
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def color @color end |
#event_time ⇒ Object (readonly)
Returns the value of attribute event_time
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def event_time @event_time end |
#icon ⇒ Object (readonly)
Returns the value of attribute icon
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def icon @icon end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def kind @kind end |
#state ⇒ Object (readonly)
Returns the value of attribute state
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def state @state end |
#tooltip ⇒ Object (readonly)
Returns the value of attribute tooltip
28 29 30 |
# File 'app/services/shipment_event_status_summary.rb', line 28 def tooltip @tooltip end |