Module: SimpleParams

Defined in:
lib/simple_params/errors.rb,
lib/simple_params/params.rb,
lib/simple_params/version.rb,
lib/simple_params/attribute.rb,
lib/simple_params/formatter.rb,
lib/simple_params/api_pie_doc.rb,
lib/simple_params/hash_builder.rb,
lib/simple_params/nested_errors.rb,
lib/simple_params/nested_params.rb,
lib/simple_params/type_mappings.rb,
lib/simple_params/nested_class_list.rb,
lib/simple_params/validation_builder.rb,
lib/simple_params/initialization_hash.rb,
lib/simple_params/concerns/validations.rb,
lib/simple_params/api_pie_doc/attribute.rb,
lib/simple_params/concerns/hash_helpers.rb,
lib/simple_params/concerns/rails_helpers.rb,
lib/simple_params/concerns/strict_params.rb,
lib/simple_params/concerns/has_attributes.rb,
lib/simple_params/concerns/has_typed_params.rb,
lib/simple_params/api_pie_doc/attribute_base.rb,
lib/simple_params/nested_params_class_builder.rb,
lib/simple_params/api_pie_doc/nested_attribute.rb,
lib/simple_params/validation_matchers/format_matcher.rb,
lib/simple_params/validation_matchers/coercion_matcher.rb,
lib/simple_params/validation_matchers/validation_matcher.rb,
lib/simple_params/validation_matchers/nested_array_matcher.rb,
lib/simple_params/validation_matchers/nested_parameter_matcher.rb,
lib/simple_params/validation_matchers/optional_parameter_matcher.rb,
lib/simple_params/validation_matchers/required_parameter_matcher.rb

Defined Under Namespace

Modules: HasAttributes, HasTypedParams, HashHelpers, RailsHelpers, StrictParams, ValidationMatchers, Validations Classes: ApiPieDoc, Attribute, Errors, Formatter, HashBuilder, InitializationHash, NestedClassList, NestedErrors, NestedParams, NestedParamsClassBuilder, Params, ValidationBuilder

Constant Summary collapse

VERSION =
"2.0.4"
TYPE_MAPPINGS =
{
  integer: Integer,
  string: String,
  decimal: BigDecimal,
  datetime: DateTime,
  date: Date,
  time: Time,
  float: Float,
  boolean: Axiom::Types::Boolean, # See note on Virtus
  array: Array,
  hash: Hash,
  object: Object
}