module Aws::Rails::SqsActiveJob

def self.to_message_attributes(record)

def self.to_message_attributes(record)
  record['messageAttributes'].each_with_object({}) do |(key, value), acc|
    acc[key] = {
      string_value: value['stringValue'],
      binary_value: value['binaryValue'],
      string_list_values: ['stringListValues'],
      binary_list_values: value['binaryListValues'],
      data_type: value['dataType']
    }
  end
end