class ReactiveShipping::ShipmentEvent

Public Instance Methods

status() click to toggle source

Return symbol of status rather than a string but maintain compatibility with ReactiveShipping

# File lib/reactive_freight/shipment_event.rb, line 6
def status
  @status ||= name.class == String ? name.downcase.gsub("\s", '_').to_sym : name
end