Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
UserBody
Inherits
Struct
<
Value
<
Object
Constructors
from_json
(raw :
String
) : self
Source
new
(id :
Int32
, email :
String
, role :
String
)
Source
Class methods
schema_json
Source
valid?
(json :
String
) :
Bool
Source
validate
(json :
String
) :
AtaValidator::ValidationResult
Source
validator
Source
Instance methods
email
id
role