class Guest
- Guest
- Granite::Base
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Extended Modules
- JSON::Schema
Defined in:
models/guest.cr:3models/guest.cr:5
Constant Summary
-
EMPTY_JSON =
JSON.parse("{}")
Constructors
Class Method Summary
Instance Method Summary
- #attendee_for(event_id : String)
- #attendees
- #attending_today?(timezone)
- #banned : Bool
- #banned=(banned : Bool)
- #cleanup_attendees
- #created_at : Time | Nil
- #created_at! : Time
- #created_at=(created_at : Time | Nil)
- #dangerous : Bool
- #dangerous=(dangerous : Bool)
- #downcase_email
-
#email : String | Nil
A guest can have multiple entries with different emails Profiles are limited to a single email
-
#email! : String
A guest can have multiple entries with different emails Profiles are limited to a single email
-
#email=(email : String | Nil)
A guest can have multiple entries with different emails Profiles are limited to a single email
- #events(future_only = true, limit = 10)
- #ext_data : String | Nil
- #ext_data! : String
- #ext_data=(ext_data : String | Nil)
- #extension_data : Hash(String, JSON::Any)
- #extension_data=(extension_data : Hash(String, JSON::Any) | Nil)
- #id
- #id=(email : String | Nil)
- #name : String | Nil
- #name! : String
- #name=(name : String | Nil)
- #notes : String | Nil
- #notes! : String
- #notes=(notes : String | Nil)
- #organisation : String | Nil
- #organisation! : String
- #organisation=(organisation : String | Nil)
- #phone : String | Nil
- #phone! : String
- #phone=(phone : String | Nil)
- #photo : String | Nil
- #photo! : String
- #photo=(photo : String | Nil)
- #preferred_name : String | Nil
- #preferred_name! : String
- #preferred_name=(preferred_name : String | Nil)
- #searchable : String
- #searchable=(searchable : String)
- #transform_extension_data
- #update_searchable
- #updated_at : Time | Nil
- #updated_at! : Time
- #updated_at=(updated_at : Time | Nil)
Constructor Detail
Class Method Detail
Instance Method Detail
def email : String | Nil
#
A guest can have multiple entries with different emails Profiles are limited to a single email
def email! : String
#
A guest can have multiple entries with different emails Profiles are limited to a single email
def email=(email : String | Nil)
#
A guest can have multiple entries with different emails Profiles are limited to a single email