Method: Sentry::Scope#add_attachment
- Defined in:
- lib/sentry/scope.rb
#add_attachment(**opts) ⇒ Object
Add a new attachment to the scope.
337 338 339 340 |
# File 'lib/sentry/scope.rb', line 337 def (**opts) << ( = Attachment.new(**opts)) end |