Class: Viewpoint::EWS::Types::Event
- Inherits:
-
Object
- Object
- Viewpoint::EWS::Types::Event
- Includes:
- Viewpoint::EWS, Viewpoint::EWS::Types, Item
- Defined in:
- lib/ews/types/event.rb
Direct Known Subclasses
CopiedEvent, CreatedEvent, DeletedEvent, FreeBusyChangedEvent, ModifiedEvent, MovedEvent, NewMailEvent
Constant Summary collapse
- 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
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
Constants included from Viewpoint::EWS
Instance Attribute Summary
Attributes included from Item
Attributes included from Viewpoint::EWS::Types
Attributes included from Viewpoint::EWS
Instance Method Summary collapse
-
#initialize(ews, event) ⇒ Event
constructor
A new instance of Event.
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
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