struct User

Defined in:

main.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : Int64, name : String, posts : Array(Post)) #

[View source]

Class Method Detail

def self.find(id) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, name _name = @name, posts _posts = @posts) #

[View source]
def default_view #

[View source]
def id : Int64 #

def name : String #

def posts : Array(Post) #

def user_resource_path #

[View source]