Class: Rbdantic::BaseModel
- Inherits:
-
Object
- Object
- Rbdantic::BaseModel
- Includes:
- Access, DSL, Validation
- Defined in:
- lib/rbdantic/base.rb,
lib/rbdantic/base/dsl.rb,
lib/rbdantic/base/access.rb,
lib/rbdantic/base/validation.rb
Overview
Base class for data models with field DSL and validation Similar to Pydantic BaseModel in Python
Defined Under Namespace
Modules: Access, DSL, Validation
Method Summary
Methods included from Access
#==, #[], #[]=, #copy, #hash, #method_missing, #model_dump, #model_dump_json, #model_extra, #model_fields_set, #respond_to_missing?, #update
Methods included from Validation
Methods included from DSL
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Rbdantic::BaseModel::Access