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
SourceInstance methods
at_me_consent
Sourceat_me_consent=(at_me_consent : Bool)
Sourcecreated_at
Sourcecreated_at=(created_at : Time)
Sourceid
Sourceid!
Sourceid=(id : Int32 | Nil)
Sourcenext_water
Sourcenext_water=(next_water : Time)
Sourcepoints
Sourcepoints=(points : Int64)
Sourcepurse
Sourcepurse=(purse : String)
Sourcesuper_cow_power
Sourcesuper_cow_power=(super_cow_power : Bool)
Sourceusername
Sourceusername=(username : String)
Source