class Guest

Included Modules

Extended Modules

Defined in:

models/guest.cr:3
models/guest.cr:5

Constant Summary

EMPTY_JSON = JSON.parse("{}")

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 #

Instance Method Detail

def attendee_for(event_id : String) #

[View source]
def attendees #

[View source]
def attending_today?(timezone) #

[View source]
def banned : Bool #

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

[View source]
def cleanup_attendees #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def dangerous : Bool #

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

[View source]
def downcase_email #

[View source]
def email : String | Nil #

A guest can have multiple entries with different emails Profiles are limited to a single email


[View source]
def email! : String #

A guest can have multiple entries with different emails Profiles are limited to a single email


[View source]
def email=(email : String | Nil) #

A guest can have multiple entries with different emails Profiles are limited to a single email


[View source]
def events(future_only = true, limit = 10) #

[View source]
def ext_data : String | Nil #

[View source]
def ext_data! : String #

[View source]
def ext_data=(ext_data : String | Nil) #

[View source]
def extension_data : Hash(String, JSON::Any) #

[View source]
def extension_data=(extension_data : Hash(String, JSON::Any) | Nil) #

[View source]
def id #

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

[View source]
def name : String | Nil #

[View source]
def name! : String #

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

[View source]
def notes : String | Nil #

[View source]
def notes! : String #

[View source]
def notes=(notes : String | Nil) #

[View source]
def organisation : String | Nil #

[View source]
def organisation! : String #

[View source]
def organisation=(organisation : String | Nil) #

[View source]
def phone : String | Nil #

[View source]
def phone! : String #

[View source]
def phone=(phone : String | Nil) #

[View source]
def photo : String | Nil #

[View source]
def photo! : String #

[View source]
def photo=(photo : String | Nil) #

[View source]
def preferred_name : String | Nil #

[View source]
def preferred_name! : String #

[View source]
def preferred_name=(preferred_name : String | Nil) #

[View source]
def searchable : String #

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

[View source]
def transform_extension_data #

[View source]
def update_searchable #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #