class SchemaSerializer::Configuration

Constants

VALID_OPTIONS

Public Class Methods

new(options = {}) click to toggle source
# File lib/schema_serializer/configuration.rb, line 9
def initialize(options = {})
  reset
  merge(options)
end

Public Instance Methods

merge(options) click to toggle source
# File lib/schema_serializer/configuration.rb, line 14
def merge(options)
  options.each_key { |key| send("#{key}=", options[key]) }
  self
end
reset() click to toggle source
# File lib/schema_serializer/configuration.rb, line 19
def reset
  @raise_on_null = true
end