module Dry::Schema

def self.JSON(**options, &block)

Other tags:
    Api: - public

Other tags:
    See: Schema#define -

Returns:
  • (Params) -
def self.JSON(**options, &block)
  define(**options, processor_type: JSON, &block)
end

def self.Params(**options, &block)

Other tags:
    Api: - public

Other tags:
    See: Schema#define -

Returns:
  • (Params) -
def self.Params(**options, &block)
  define(**options, processor_type: Params, &block)
end

def self.config

Other tags:
    Api: - public

Returns:
  • (Config) -
def self.config
  @config ||= Config.new
end

def self.define(**options, &block)

Other tags:
    Api: - public

Other tags:
    See: DSL.new -

Returns:
  • (Processor) -

Parameters:
  • options (Hash) --
def self.define(**options, &block)
  DSL.new(**options, &block).call
end