module Dry::Schema
def self.JSON(**options, &block)
- 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)
- Api: - public
Other tags:
- See: Schema#define -
Returns:
-
(Params)
-
def self.Params(**options, &block) define(**options, processor_type: Params, &block) end
def self.define(**options, &block)
- Api: - public
Other tags:
- See: DSL.new -
Returns:
-
(Processor)
-
Parameters:
-
options
(Hash
) --
def self.define(**options, &block) DSL.new(options, &block).call end