Class: Exchanger::CalendarItem

Inherits:
Item show all
Defined in:
lib/exchanger/elements/calendar_item.rb

Overview

The CalendarItem element represents an Exchanger calendar item.

msdn.microsoft.com/en-us/library/aa564765.aspx

Instance Attribute Summary

Attributes inherited from Item

#parent_folder

Attributes inherited from Element

#tag_name

Instance Method Summary collapse

Methods inherited from Item

#categories_with_color, #file_attachments, find, find_all, find_all_by_folder_id, find_calendar_view_set_by_folder_id, #new_file_attachment

Methods inherited from Element

#==, #assign_attributes_from_xml, create_element_accessors, element, #errors, #initialize, #inspect, key, new_from_xml, #to_xml, #to_xml_change, #to_xml_updates

Methods included from Persistence

#destroy, #new_record?, #persisted?, #reload, #save

Methods included from Dirty

#attribute_change, #attribute_changed?, #attribute_was, #changed, #changed?, #changes, included, #move_changes, #previous_changes, #reset_attribute!, #reset_modifications, #setup_modifications

Methods included from Attributes

#attributes, #attributes=, #change_key, #id, #identifier, #method_missing, #read_attribute, #respond_to?, #write_attribute

Constructor Details

This class inherits a constructor from Exchanger::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Exchanger::Attributes

Instance Method Details

#create_additional_optionsObject


59
60
61
# File 'lib/exchanger/elements/calendar_item.rb', line 59

def create_additional_options
  { send_meeting_invitations: "SendToAllAndSaveCopy" }
end

#delete_additional_optionsObject


67
68
69
# File 'lib/exchanger/elements/calendar_item.rb', line 67

def delete_additional_options
  { send_meeting_cancellations: "SendToAllAndSaveCopy" }
end

#update_additional_optionsObject


63
64
65
# File 'lib/exchanger/elements/calendar_item.rb', line 63

def update_additional_options
  { send_meeting_invitations_or_cancellations: "SendToAllAndSaveCopy" }
end