class

Model::Ducky

Inherits YAML::Serializable < JSON::Serializable < Granite::Base < Granite::Select < Granite::Migrator < Granite::ValidationHelpers < Granite::Validators < Granite::Transactions < Granite::Tables < Granite::Columns < Granite::Callbacks < Granite::Associations < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Class methods

adapter
valid_username?(username : String) : Bool
Source

Instance methods

created_at
Source
created_at=(created_at : Time)
Source
id=(id : Int32 | Nil)
Source
next_water
Source
next_water=(next_water : Time)
Source
points
Source
points=(points : Int64)
Source
purse
Source
purse=(purse : String)
Source
super_cow_power
Source
super_cow_power=(super_cow_power : Bool)
Source
username
Source
username=(username : String)
Source