class Model::Ducky

Included Modules

Defined in:

models/ducky.cr:4
models/ducky.cr:6

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

Class Method Detail

def self.adapter : Granite::Adapter::Base #

def self.valid_username?(username : String) : Bool #

[View source]

Instance Method Detail

def at_me_consent : Bool #

[View source]
def at_me_consent=(at_me_consent : Bool) #

[View source]
def created_at : Time #

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

[View source]
def id : Int32 | Nil #

[View source]
def id! : Int32 #

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

[View source]
def next_water : Time #

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

[View source]
def points : Int64 #

[View source]
def points=(points : Int64) #

[View source]
def purse : String #

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

[View source]
def super_cow_power : Bool #

[View source]
def super_cow_power=(super_cow_power : Bool) #

[View source]
def username : String #

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

[View source]