Sha256: 529b29adf9a34ee75bc0e17af5c49da2d6b20763bdc2e4fa830df084a5c2c180
Contents?: true
Size: 224 Bytes
Versions: 21
Compression:
Stored size: 224 Bytes
Contents
# frozen_string_literal: true module NeetoCommonsBackend module ApiHelpers def full_messages_with_keys_for(errors) Hash[errors.messages.keys.map { |key| [key, errors.full_messages_for(key)] }] end end end
Version data entries
21 entries across 21 versions & 1 rubygems