class App::View::UserView

Overview

handled by this case FactoryView::UserFactoryView

UserView presents the attributes of Entity::UserEntity to the different use case responses.

Used in Response::RegisterUserResponse,

To create a UserView

view = View::UserView.new

each attributes is public, readable and wriatble

Defined in:

app/view/user_view.cr

Instance Method Summary

Instance Method Detail

def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def email : String #

[View source]
def email=(email : String) #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def password : String #

[View source]
def password=(password : String) #

[View source]
def updated_at : Time #

[View source]
def updated_at=(updated_at : Time) #

[View source]