Method: Sentry::Envelope#initialize
- Defined in:
- lib/sentry/envelope.rb
permalink #initialize(headers = {}) ⇒ Envelope
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.
Returns a new instance of Envelope.
8 9 10 11 |
# File 'lib/sentry/envelope.rb', line 8 def initialize(headers = {}) @headers = headers @items = [] end |