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.

Since:

  • v4.4.0

Instance Method Summary collapse

Instance Method Details

#stashHash{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.

Returns:

  • (Hash{Symbol=>Object})

    the hash with arbitrary objects to be used in filters

Since:

  • v4.4.0



11
12
13
# File 'lib/airbrake-ruby/stashable.rb', line 11

def stash
  @stash ||= {}
end