class Fighter

Included Modules

Defined in:

test-kemal.cr:108
test-kemal.cr:110

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, name : Nil | String, skill : Nil | Array(String), created_at : Time | Nil = Time.utc, updated_at : Time | Nil = nil) #

[View source]

Instance Method Detail

def created_at : Time #

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

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def name : String #

column id : UUID, primary: true, auto: false


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

column id : UUID, primary: true, auto: false


[View source]
def skill : Array(String) #

[View source]
def skill=(skill : Array(String)) #

[View source]
def updated_at : Time | Nil #

[View source]
def updated_at! : Time #

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

[View source]