Sha256: 995bacc1ce829cc8e8a3c1a357dc125749fb1fa91b85c169f0f694ef8da0b60d
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 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.4 | lib/schema_serializer/configuration.rb |