Sha256: 60906d27933905a056692e26a543b06dccab1e7709f91b24b1f634c275b5966a
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
class SchemaSerializer class Configuration VALID_OPTIONS = [ :raise_on_null, ].freeze attr_accessor *VALID_OPTIONS def initialize(options = {}) reset merge(options) end def merge(options) options.keys.each { |key| send("#{key}=", options[key]) } self end def reset @raise_on_null = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
schema_serializer-0.2.3 | lib/schema_serializer/configuration.rb |