Class: Exchanger::CreateAttachment::Response

Inherits:
Operation::Response show all
Defined in:
lib/exchanger/operations/create_attachment.rb

Instance Attribute Summary

Attributes inherited from Operation::Response

#body, #status

Instance Method Summary collapse

Methods inherited from Operation::Response

#code, #initialize, #parse_response_message, #parse_soap_errors, #to_xml

Constructor Details

This class inherits a constructor from Exchanger::Operation::Response

Instance Method Details

#attachment_idsObject



37
38
39
40
41
# File 'lib/exchanger/operations/create_attachment.rb', line 37

def attachment_ids
  to_xml.xpath(".//t:AttachmentId", NS).map do |node|
    Identifier.new_from_xml(node)
  end
end