method

attachment

attachment(params, &block)
public

Add an attachment to a multipart message. This is simply a part with the content-disposition set to “attachment”.