Flowdock
method

add_part

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: SOAP::MIMEMessage
add_part(content) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/mimemessage.rb, line 199
  def add_part(content)
    part = Part.new
    part.headers.add("Content-Type",
      "text/xml; charset=" + XSD::Charset.xml_encoding_label)
    part.headers.add("Content-ID", Attachment.contentid(part))
    part.body = content
    @parts.unshift(part)
  end
Register or log in to add new notes.