Flowdock
method

mimeize

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::RPC::Router
mimeize(conn_data, ext) private

No documentation

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

Hide source
# File lib/soap/rpc/router.rb, line 308
  def mimeize(conn_data, ext)
    mime = MIMEMessage.new
    ext.each do |k, v|
      mime.add_attachment(v.data)
    end
    mime.add_part(conn_data.send_string + "\r\n")
    mime.close
    conn_data.send_string = mime.content_str
    conn_data.send_contenttype = mime.headers['content-type'].str
    conn_data
  end
Register or log in to add new notes.