Class: CodeClimate::TestReporter::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/code_climate/test_reporter/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
# File 'lib/code_climate/test_reporter/configuration.rb', line 26

def initialize
  @gzip_request = true
end

Instance Attribute Details

#branchObject

Returns the value of attribute branch.



22
23
24
# File 'lib/code_climate/test_reporter/configuration.rb', line 22

def branch
  @branch
end

#git_dirObject

Returns the value of attribute git_dir.



22
23
24
# File 'lib/code_climate/test_reporter/configuration.rb', line 22

def git_dir
  @git_dir
end

#gzip_requestObject

Returns the value of attribute gzip_request.



22
23
24
# File 'lib/code_climate/test_reporter/configuration.rb', line 22

def gzip_request
  @gzip_request
end

#loggerObject



30
31
32
# File 'lib/code_climate/test_reporter/configuration.rb', line 30

def logger
  @logger ||= default_logger
end

#path_prefixObject

Returns the value of attribute path_prefix.



22
23
24
# File 'lib/code_climate/test_reporter/configuration.rb', line 22

def path_prefix
  @path_prefix
end

#profileObject



34
35
36
# File 'lib/code_climate/test_reporter/configuration.rb', line 34

def profile
  @profile ||= "test_frameworks"
end

#timeoutObject



42
43
44
# File 'lib/code_climate/test_reporter/configuration.rb', line 42

def timeout
  @timeout ||= Client::DEFAULT_TIMEOUT
end

Instance Method Details

#skip_tokenObject



38
39
40
# File 'lib/code_climate/test_reporter/configuration.rb', line 38

def skip_token
  @skip_token ||= "nocov"
end