Sha256: 1496f719d3b746861fa072ed6bef7df762eb6032bf77d1ddae4fa389c466183c

Contents?: true

Size: 307 Bytes

Versions: 102

Compression:

Stored size: 307 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)
    @gauges << args
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
appsignal-3.13.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.13.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.13.1.alpha.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.13.1.alpha.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.13.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.13.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.6-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.6 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.5-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.5 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.4-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.4 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.3-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.3 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.2-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.2 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.12.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.12.0 spec/support/mocks/appsignal_mock.rb