Class: MsgExtractor::Appointment

Inherits:
MessageObject show all
Defined in:
lib/msg_extractor/appointment.rb

Overview

IPM.Appointment and IPM.Schedule.Meeting.* items. Times come from PSETID_Appointment named properties and are returned as UTC Time.

Constant Summary collapse

PSETID_APPOINTMENT =
"00062002-0000-0000-c000-000000000046"
LID_START_WHOLE =
0x820D
LID_END_WHOLE =
0x820E
LID_LOCATION =
0x8208
LID_ALL_DAY =
0x8215

Instance Attribute Summary

Attributes inherited from MessageObject

#named, #properties

Instance Method Summary collapse

Methods inherited from MessageObject

#attachments, #bcc, #body, #cc, #date, #headers, #html_body, #initialize, #message_class, #named_value, #recipients, #rtf_body, #save, #sender, #subject, #to

Constructor Details

This class inherits a constructor from MsgExtractor::MessageObject

Instance Method Details

#all_day?Boolean

Returns:

  • (Boolean)


15
# File 'lib/msg_extractor/appointment.rb', line 15

def all_day? = named_value(PSETID_APPOINTMENT, LID_ALL_DAY) == true

#ends_atObject



13
# File 'lib/msg_extractor/appointment.rb', line 13

def ends_at = named_value(PSETID_APPOINTMENT, LID_END_WHOLE)

#locationObject



14
# File 'lib/msg_extractor/appointment.rb', line 14

def location = named_value(PSETID_APPOINTMENT, LID_LOCATION)

#optional_attendeesObject



18
# File 'lib/msg_extractor/appointment.rb', line 18

def optional_attendees = cc

#organizerObject



16
# File 'lib/msg_extractor/appointment.rb', line 16

def organizer = sender

#required_attendeesObject



17
# File 'lib/msg_extractor/appointment.rb', line 17

def required_attendees = to

#starts_atObject



12
# File 'lib/msg_extractor/appointment.rb', line 12

def starts_at = named_value(PSETID_APPOINTMENT, LID_START_WHOLE)