class

Exu::Domain::User

Inherits Reference < Object

Pure Domain entity representing a virtual mail user.

Constructors

new(email : EmailAddress, role : String = "user", password_hash : String | Nil = nil)
Source

Instance methods

admin?
Source
email
Source
password_hash
Source
password_hash=(password_hash : String | Nil)
Source
role
Source
role=(role : String)
Source