Class: Viewpoint::EWS::Types::Event

Inherits:
Object
  • Object
show all
Includes:
Viewpoint::EWS, Viewpoint::EWS::Types, Item
Defined in:
lib/ews/types/event.rb

Constant Summary

EVENT_KEY_PATHS =
{
  :watermark  => [:watermark, :text],
  :timestamp  => [:time_stamp, :text],
  :item_id    => [:item_id, :attribs],
  :folder_id  => [:folder_id, :attribs],
  :parent_folder_id  => [:parent_folder_id, :attribs],
}
EVENT_KEY_TYPES =
{
  :timestamp  => ->(ts){ DateTime.iso8601(ts) }
}
EVENT_KEY_ALIAS =
{ }

Constants included from Item

Item::ITEM_KEY_ALIAS, Item::ITEM_KEY_PATHS, Item::ITEM_KEY_TYPES

Constants included from ItemFieldUriMap

ItemFieldUriMap::FIELD_URIS

Constants included from Viewpoint::EWS::Types

KEY_ALIAS, KEY_PATHS, KEY_TYPES, OOF_KEY_ALIAS, OOF_KEY_PATHS, OOF_KEY_TYPES

Constants included from StringUtils

StringUtils::DURATION_RE

Constants included from Viewpoint::EWS

ConnectingSID

Instance Attribute Summary

Attributes included from Item

#ews_item, #parent

Attributes included from Viewpoint::EWS::Types

#ews_item

Attributes included from Viewpoint::EWS

#logger

Instance Method Summary collapse

Methods included from Item

#add_file_attachment, #add_inline_attachment, #add_item_attachment, #copy, #default_body_type=, #delete!, #forward, #get_all_properties!, included, #mark_read!, #move!, #recycle!, #reply_to, #reply_to_all, #submit!, #submit_attachments!

Methods included from Viewpoint::EWS::Types

#auto_deepen?, #deepen!, #ews_methods, #freeze!, #frozen?, #mark_deep!, #method_missing, #methods, #respond_to?, #shallow?, #to_s, #unfreeze!

Methods included from StringUtils

included

Methods included from Viewpoint::EWS

#remove_impersonation, root_logger, #set_impersonation

Constructor Details

#initialize(ews, event) ⇒ Event

Returns a new instance of Event



40
41
42
43
# File 'lib/ews/types/event.rb', line 40

def initialize(ews, event)
  @ews = ews
  super(ews, event)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Viewpoint::EWS::Types