class Honeybadger::CLI::Test::TestBackend
Public Class Methods
callings()
click to toggle source
# File lib/honeybadger/cli/test.rb, line 23 def self.callings @callings ||= Hash.new {|h,k| h[k] = [] } end
new(backend)
click to toggle source
# File lib/honeybadger/cli/test.rb, line 19 def initialize(backend) @backend = backend end
Public Instance Methods
notify(feature, payload)
click to toggle source
# File lib/honeybadger/cli/test.rb, line 27 def notify(feature, payload) response = @backend.notify(feature, payload) self.class.callings[feature] << [payload, response] response end