class GoogleCalendar

Included Modules

Defined in:

models/google_calendar.cr:1
models/google_calendar.cr:3

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 #

def self.find_or_create(user_id) #

[View source]

Instance Method Detail

def add_event(event) #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def delete_events(date) #

[View source]
def google_id : String | Nil #

[View source]
def google_id! : String #

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

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def list_events(date) #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def user : User | Nil #

[View source]
def user! : User #

[View source]
def user=(parent : User) #

[View source]
def user_id : Int64 | Nil #

def user_id! : Int64 #

def user_id=(user_id : Int64 | Nil) #