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