Class: Viewpoint::EWS::SOAP::CreateAttachmentResponseMessage

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

Constant Summary

Constants included from StringUtils

StringUtils::DURATION_RE

Instance Attribute Summary

Attributes inherited from ResponseMessage

#message, #type

Instance Method Summary collapse

Methods included from StringUtils

included

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

#attachmentsObject



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

def attachments
  return @attachments if @attachments

  a = safe_hash_access message, [:elems, :attachments, :elems]
  @attachments = a.nil? ? nil : parse_attachments(a)
end