class Guests

Defined in:

controllers/guests.cr

Constant Summary

NAMESPACE = ["/api/staff/v1/guests"]

default namespace based on class

PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json"]

Class Method Summary

Instance Method Summary

Instance methods inherited from class Application

attending_guest(visitor : Attendee | Nil, guest : Guest | Nil, parent_meta = false, meeting_details = nil) attending_guest, check_jwt_scope check_jwt_scope, configure_request_logging configure_request_logging, get_event(event_id, cal_id) get_event, get_timezone get_timezone, standard_event(calendar_id, system, event, metadata, is_parent_metadata = false) standard_event

Instance methods inherited from module Utils::Responders

restrict_attributes(model, only : Array(String) | Nil = nil, except : Array(String) | Nil = nil, fields : Hash | Nil = nil) : Hash restrict_attributes, with_fields(model, fields) : Hash with_fields

Instance methods inherited from module Utils::CurrentUser

authorize! authorize!, check_admin check_admin, check_support check_support, is_admin? is_admin?, is_support? is_support?, user_token : UserJWT user_token

Instance methods inherited from module Utils::GoogleHelpers

calendar_for(sub = ADMIN_ACCOUNT) calendar_for, google_directory(user_token : String, view_type = "admin_view")
google_directory
google_directory

Instance methods inherited from module Utils::PlaceOSHelpers

check_access(groups : Array(String), check : Array(String)) check_access, get_placeos_client : PlaceOS::Client get_placeos_client, get_user_calendars get_user_calendars, matching_calendar_ids matching_calendar_ids

Class Method Detail

def self.base_route #

Helper for obtaining base route


def self.update_alt(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts) #

Helper methods for performing redirect_to calls


Instance Method Detail

def base_route(*args, **options) #

Helper for obtaining base route


def base_route(*args, **options, &) #

Helper for obtaining base route


def create #

[View source]
def destroy #

[View source]
def find_guest #

[View source]
def guest : Guest #

[View source]
def index #

[View source]
def json_parse_exception(error) #

Create functions as required for errors Skip the generating methods for existing handlers


def meetings #

[View source]
def show #

[View source]
def update #

[View source]
def update_alt #

[View source]