Flowdock
method

add_attachment

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::MIMEMessage
add_attachment(attach) 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 208
  def add_attachment(attach)
    part = Part.new
    part.headers.add("Content-Type", attach.contenttype)
    part.headers.add("Content-ID", attach.mime_contentid)
    part.body = attach.content
    @parts.unshift(part)
  end
Register or log in to add new notes.