lib/ews/soap/builders/ews_builder.rb
# A helper method to dispatch to an ItemId, OccurrenceItemId, or a RecurringMasterItemId
# @param [Hash] iid The item id of some type
A helper method to dispatch to an ItemId, OccurrenceItemId, or a RecurringMasterItemId
A helper method to dispatch to an ItemId OccurrenceItemId or a RecurringMasterItemId
def dispatch_item_id!(iid)
      type = iid.keys.first
      item = iid[type]
      case type
        when :item_id
          item_id!(item)
        when :occurrence_item_id
          occurrence_item_id!(item)
        when :recurring_master_item_id
          recurring_master_item_id!(item)
        else
          raise EwsBadArgumentError, "Bad ItemId type. #{type}"
      end
    end
def dispatch_item_id! ( iid ) type = iid . keys . first item = iid [ type ] case type when :item_id item_id! ( item ) when :occurrence_item_id occurrence_item_id! ( item ) when :recurring_master_item_id recurring_master_item_id! ( item ) else raise EwsBadArgumentError , "Bad ItemId type. #{type}" end end
A helper method to dispatch to an ItemId, OccurrenceItemId, or a RecurringMasterItemId
A helper method to dispatch to an ItemId OccurrenceItemId or a RecurringMasterItemId
iid
<not_specific>
<not_specific>
iid The item id of some type
iid The item id of some type