class Sentry::Envelope

@api private

def add_item(headers, payload)

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

def event_id

def event_id
  @headers[:event_id]
end

def initialize(headers = {})

def initialize(headers = {})
  @headers = headers
  @items = []
end

def item_types

def item_types
  @items.map(&:type)
end