Sha256: 97e4fc6113325edd29804b3ac42ad47c4ad941f8543c9fc2b4f1461fb3f4aa84
Contents?: true
Size: 351 Bytes
Versions: 10
Compression:
Stored size: 351 Bytes
Contents
class AppsignalMock attr_reader :gauges def initialize(hostname: nil) @hostname = hostname @gauges = [] end def config ConfigHelpers.project_fixture_config.tap do |conf| conf[:hostname] = @hostname if @hostname end end def set_gauge(*args) # rubocop:disable Naming/AccessorMethodName @gauges << args end end
Version data entries
10 entries across 10 versions & 1 rubygems