global
def message_type(message)
def message_type(message) # TODO: This is duplicate code - from messages_comparator:45 - It should live in a common helper methods module message.to_h.each do |key, value| return key unless value.nil? end end
def message_type(message) # TODO: This is duplicate code - from messages_comparator:45 - It should live in a common helper methods module message.to_h.each do |key, value| return key unless value.nil? end end