Class: ShipmentEventStatusSummary::Badge

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#colorObject (readonly)

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def color
  @color
end

#event_timeObject (readonly)

Returns the value of attribute event_time

Returns:

  • (Object)

    the current value of event_time



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def event_time
  @event_time
end

#iconObject (readonly)

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def icon
  @icon
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def kind
  @kind
end

#stateObject (readonly)

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def state
  @state
end

#tooltipObject (readonly)

Returns the value of attribute tooltip

Returns:

  • (Object)

    the current value of tooltip



28
29
30
# File 'app/services/shipment_event_status_summary.rb', line 28

def tooltip
  @tooltip
end