Module: Airbrake::Stashable Private
- Included in:
- Notice, PerformanceBreakdown, Query, Queue, Request
- Defined in:
- lib/airbrake-ruby/stashable.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Stashable should be included in any class that wants the ability to stash arbitrary objects. It is mainly used by data objects that users can access through filters.
Instance Method Summary collapse
-
#stash ⇒ Hash{Symbol=>Object}
private
The hash with arbitrary objects to be used in filters.
Instance Method Details
#stash ⇒ Hash{Symbol=>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.
Returns the hash with arbitrary objects to be used in filters.
11 12 13 |
# File 'lib/airbrake-ruby/stashable.rb', line 11 def stash @stash ||= {} end |