Skip to content



Name Type Description Notes
name String Name of attachment if given
content_type String Content type of attachment such as image/png
content_length Integer Size of attachment in bytes
id String ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email.

Code Sample

require 'MailSlurpClient'

instance = null,
                                 content_type: null,
                                 content_length: null,
                                 id: null)