Sha256: 189ccddd6b74bf09678afeddbca516fa2623ea181d242072b0c1250947ec7070
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
module ValidateParams class Configuration attr_accessor :scrub_invalid_utf8, :scrub_invalid_utf8_replacement def initialize @scrub_invalid_utf8 = false @scrub_invalid_utf8_replacement = "" end def to_h { scrub_invalid_utf8: scrub_invalid_utf8, scrub_invalid_utf8_replacement: scrub_invalid_utf8_replacement } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
validate-params-0.14.0 | lib/validate_params/configuration.rb |
validate-params-0.13.1 | lib/validate_params/configuration.rb |