Module: TypedParams
- Defined in:
- lib/typed_params.rb,
lib/typed_params/path.rb,
lib/typed_params/types.rb,
lib/typed_params/mapper.rb,
lib/typed_params/schema.rb,
lib/typed_params/bouncer.rb,
lib/typed_params/coercer.rb,
lib/typed_params/handler.rb,
lib/typed_params/memoize.rb,
lib/typed_params/version.rb,
lib/typed_params/pipeline.rb,
lib/typed_params/parameter.rb,
lib/typed_params/processor.rb,
lib/typed_params/types/nil.rb,
lib/typed_params/validator.rb,
lib/typed_params/controller.rb,
lib/typed_params/formatters.rb,
lib/typed_params/schema_set.rb,
lib/typed_params/types/date.rb,
lib/typed_params/types/hash.rb,
lib/typed_params/types/time.rb,
lib/typed_params/types/type.rb,
lib/typed_params/handler_set.rb,
lib/typed_params/transformer.rb,
lib/typed_params/types/array.rb,
lib/typed_params/types/float.rb,
lib/typed_params/types/number.rb,
lib/typed_params/types/string.rb,
lib/typed_params/types/symbol.rb,
lib/typed_params/configuration.rb,
lib/typed_params/parameterizer.rb,
lib/typed_params/types/boolean.rb,
lib/typed_params/types/decimal.rb,
lib/typed_params/types/integer.rb,
lib/typed_params/namespaced_set.rb,
lib/typed_params/transforms/noop.rb,
lib/typed_params/formatters/rails.rb,
lib/typed_params/formatters/jsonapi.rb,
lib/typed_params/validations/format.rb,
lib/typed_params/validations/length.rb,
lib/typed_params/formatters/formatter.rb,
lib/typed_params/transforms/key_alias.rb,
lib/typed_params/transforms/transform.rb,
lib/typed_params/transforms/key_casing.rb,
lib/typed_params/validations/exclusion.rb,
lib/typed_params/validations/inclusion.rb,
lib/typed_params/validations/validation.rb,
lib/typed_params/transforms/nilify_blanks.rb
Defined Under Namespace
Modules: Controller, Formatters, Memoize, Transforms, Types, Validations
Classes: Bouncer, Coercer, CoercionError, Configuration, Handler, HandlerSet, InvalidMethodError, InvalidParameterError, Mapper, NamespacedSet, Parameter, Parameterizer, Path, Pipeline, Processor, Schema, SchemaSet, Transformer, UndefinedActionError, UnpermittedParameterError, ValidationError, Validator
Constant Summary
collapse
- AUTO =
Sentinel value for determining if something should be automatic. For example, automatically detecting a param’s format via its schema vs using an explicitly provided format.
Object.new
- ROOT =
Sentinel value for determining if something is the root. For example, determining if a schema is the root node.
Object.new
- VERSION =
'1.2.6'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
85
|
# File 'lib/typed_params.rb', line 85
def self.config = @config ||= Configuration.new
|
86
87
88
|
# File 'lib/typed_params.rb', line 86
def self.configure
yield config
end
|
82
|
# File 'lib/typed_params.rb', line 82
def self.formats = Formatters
|
.types ⇒ Object
83
|
# File 'lib/typed_params.rb', line 83
def self.types = Types
|