Class: CodeclimateCi::Configuration
- Inherits:
-
Object
- Object
- CodeclimateCi::Configuration
- Defined in:
- lib/codeclimate_ci/configuration.rb
Constant Summary collapse
- OPTIONS =
%i(codeclimate_api_token repo_id branch_name retry_count sleep_time)
- DEFAULTS =
{ 'retry_count' => '3', 'sleep_time' => '5' }
Instance Method Summary collapse
Instance Method Details
#load_from_options(options) ⇒ Object
11 12 13 14 15 |
# File 'lib/codeclimate_ci/configuration.rb', line 11 def () OPTIONS.each do |option| send("#{option}=", value_or_default(, option)) end end |