Method: Sentry::Attachment#to_envelope_headers
- Defined in:
- lib/sentry/attachment.rb
#to_envelope_headers ⇒ Object
16 17 18 |
# File 'lib/sentry/attachment.rb', line 16 def to_envelope_headers { type: "attachment", filename: filename, content_type: content_type, length: payload.bytesize } end |