Sha256: 30ac5e693e815ccc5327401a9207e1ff10ec1654684a946a4ae059a1cab7e820
Contents?: true
Size: 413 Bytes
Versions: 19
Compression:
Stored size: 413 Bytes
Contents
require 'dry/validation/schema' module Dry module Validation class Schema::JSON < Schema def self.configure(klass = nil, &block) if klass klass.configure do |config| config.input_processor = :json config.hash_type = :symbolized end klass else super(&block) end end configure(self) end end end
Version data entries
19 entries across 19 versions & 1 rubygems