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