Method: Sentry::Envelope#add_item

Defined in:
lib/sentry/envelope.rb

#add_item(headers, payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

13
14
15
# File 'lib/sentry/envelope.rb', line 13

def add_item(headers, payload)
  @items << Item.new(headers, payload)
end