class CalendarEvent::Location

Overview

Google has a free-form text field for this Office365 has a more complicated JSON format

Included Modules

Extended Modules

Defined in:

models/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def address : String | Nil #

Actual street address


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

Actual street address


[View source]
def coordinates : NamedTuple(lat: String, long: String) | Nil #

Geolocation


[View source]
def coordinates=(coordinates : NamedTuple(lat: String, long: String) | Nil) #

Geolocation


[View source]
def text : String | Nil #

Room name etc


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

Room name etc


[View source]