Class: CodeClimate::TestReporter::Configuration
- Inherits:
-
Object
- Object
- CodeClimate::TestReporter::Configuration
- Defined in:
- lib/code_climate/test_reporter/configuration.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#git_dir ⇒ Object
Returns the value of attribute git_dir.
-
#gzip_request ⇒ Object
Returns the value of attribute gzip_request.
- #logger ⇒ Object
-
#path_prefix ⇒ Object
Returns the value of attribute path_prefix.
- #profile ⇒ Object
- #timeout ⇒ Object
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #skip_token ⇒ Object
Constructor Details
#initialize ⇒ Configuration
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
#branch ⇒ Object
Returns the value of attribute branch.
22 23 24 |
# File 'lib/code_climate/test_reporter/configuration.rb', line 22 def branch @branch end |
#git_dir ⇒ Object
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_request ⇒ Object
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 |
#logger ⇒ Object
30 31 32 |
# File 'lib/code_climate/test_reporter/configuration.rb', line 30 def logger @logger ||= default_logger end |
#path_prefix ⇒ Object
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 |
#profile ⇒ Object
34 35 36 |
# File 'lib/code_climate/test_reporter/configuration.rb', line 34 def profile @profile ||= "test_frameworks" end |
#timeout ⇒ Object
42 43 44 |
# File 'lib/code_climate/test_reporter/configuration.rb', line 42 def timeout @timeout ||= Client::DEFAULT_TIMEOUT end |
Instance Method Details
#skip_token ⇒ Object
38 39 40 |
# File 'lib/code_climate/test_reporter/configuration.rb', line 38 def skip_token @skip_token ||= "nocov" end |