Sha256: 0bd70ae3634076979465e3e9e152ac52e553e52e7cced5be8c266159923cb089
Contents?: true
Size: 714 Bytes
Versions: 5
Compression:
Stored size: 714 Bytes
Contents
# frozen_string_literal: true module StoreModel # StoreModel configuration. class Configuration # Controls usage of MergeErrorStrategy # @return [Boolean] attr_accessor :merge_errors # Controls usage of MergeArrayErrorStrategy # @return [Boolean] attr_accessor :merge_array_errors # Controls if the result of `as_json` will contain the unknown attributes of the model # @return [Boolean] attr_accessor :serialize_unknown_attributes # Controls if the result of `as_json` will serialize enum fiels using `as_json` # @return [Boolean] attr_accessor :serialize_enums_using_as_json def initialize @serialize_unknown_attributes = true end end end
Version data entries
5 entries across 5 versions & 1 rubygems