Class: Viewpoint::EWS::Types::Task

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

Constant Summary collapse

TASK_KEY_PATHS =
{
   complete?:         [:is_complete, :text],
   recurring?:        [:is_recurring, :text],
   start_date:        [:start_date, :text],
   due_date:          [:end_date, :text],
   reminder_due_by:   [:reminder_due_by, :text],
   reminder?:         [:reminder_is_set, :text],
   percent_complete:  [:percent_complete, :text],
   status:            [:status, :text],
}
TASK_KEY_TYPES =
{
  recurring?:       ->(str){str.downcase == 'true'},
  complete?:        ->(str){str.downcase == 'true'},
  reminder?:        ->(str){str.downcase == 'true'},
  percent_complete: ->(str){str.to_i},
}
TASK_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

Method Summary

Methods included from Item

#add_file_attachment, #add_inline_attachment, #add_item_attachment, #copy, #default_body_type=, #delete!, #forward, #get_all_properties!, included, #initialize, #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?, #initialize, #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

Dynamic Method Handling

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