Sha256: 1f32171e6ad0ba0fe13c709b7edcd4340b8726240551fb6f551e8e0adbc378d5
Contents?: true
Size: 298 Bytes
Versions: 8
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true module ActiveModel class Serializer class ErrorSerializer < ActiveModel::Serializer # @return [Hash<field_name,Array<error_message>>] def as_json object.errors.messages end def success? false end end end end
Version data entries
8 entries across 8 versions & 2 rubygems