Class: Viewpoint::EWS::SOAP::SyncFolderHierarchyResponseMessage

Inherits:
ResponseMessage
  • Object
show all
Defined in:
lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb

Instance Attribute Summary

Attributes inherited from ResponseMessage

#message, #type

Instance Method Summary collapse

Methods inherited from ResponseMessage

#initialize, #items, #message_text, #message_xml, #response_class, #response_code, #success?

Constructor Details

This class inherits a constructor from Viewpoint::EWS::SOAP::ResponseMessage

Instance Method Details

#changesObject



31
32
33
# File 'lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb', line 31

def changes
  safe_hash_access(message, [:elems, :changes, :elems]) || []
end

#includes_last_folder_in_range?Boolean



26
27
28
29
# File 'lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb', line 26

def includes_last_folder_in_range?
  ans = safe_hash_access message, [:elems, :includes_last_folder_in_range, :text]
  ans.downcase == 'true'
end

#sync_stateObject



22
23
24
# File 'lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb', line 22

def sync_state
  safe_hash_access message, [:elems, :sync_state, :text]
end