module Airbrake::Ignorable

def ignore!

Other tags:
    See: #ignored? -

Returns:
  • (void) -
def ignore!
  self.ignored = true
end

def ignored?

Other tags:
    See: #ignore! -

Returns:
  • (Boolean) -
def ignored?
  !!ignored
end

def raise_if_ignored

Raises:
  • (Airbrake::Error) - when instance is ignored
def raise_if_ignored
  return unless ignored?
  raise Airbrake::Error, "cannot access ignored #{self.class}"
end