Class: Honeybadger::Config::Ruby Private

Inherits:
Mash
  • Object
show all
Defined in:
lib/honeybadger/config/ruby.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants inherited from Mash

Mash::KEYS

Instance Method Summary collapse

Methods inherited from Mash

#initialize, #to_hash

Constructor Details

This class inherits a constructor from Honeybadger::Config::Mash

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Honeybadger::Config::Mash

Instance Method Details

#backendObject

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.


80
81
82
# File 'lib/honeybadger/config/ruby.rb', line 80

def backend
  get(:backend)
end

#backend=(backend) ⇒ 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.


76
77
78
# File 'lib/honeybadger/config/ruby.rb', line 76

def backend=(backend)
  hash[:backend] = backend
end

#backtrace_filterObject

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.


84
85
86
87
# File 'lib/honeybadger/config/ruby.rb', line 84

def backtrace_filter
  hash[:backtrace_filter] = Proc.new if block_given?
  get(:backtrace_filter)
end

#exception_filterObject

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.


89
90
91
92
# File 'lib/honeybadger/config/ruby.rb', line 89

def exception_filter
  hash[:exception_filter] = Proc.new if block_given?
  get(:exception_filter)
end

#exception_fingerprintObject

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.


94
95
96
97
# File 'lib/honeybadger/config/ruby.rb', line 94

def exception_fingerprint
  hash[:exception_fingerprint] = Proc.new if block_given?
  get(:exception_fingerprint)
end

#loggerObject

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.


72
73
74
# File 'lib/honeybadger/config/ruby.rb', line 72

def logger
  get(:logger)
end

#logger=(logger) ⇒ 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.


68
69
70
# File 'lib/honeybadger/config/ruby.rb', line 68

def logger=(logger)
  hash[:logger] = logger
end