Sha256: 2d0dc1e195fa2d2cfe18d840b23a72d7c7515cdb6cb7eb4302ab0fda82164ec2
Contents?: true
Size: 586 Bytes
Versions: 44
Compression:
Stored size: 586 Bytes
Contents
module ConfigHelpers def project_fixture_path File.expand_path( File.join(File.dirname(__FILE__), "../fixtures/projects/valid") ) end def project_fixture_config(env = "production", initial_config = {}, logger = Appsignal.logger, config_file = nil) Appsignal::Config.new( project_fixture_path, env, initial_config, logger, config_file ) end module_function :project_fixture_config, :project_fixture_path def start_agent(env = "production") Appsignal.config = project_fixture_config(env) Appsignal.start end end
Version data entries
44 entries across 44 versions & 1 rubygems