Class: Oncall::Core::Config
- Inherits:
-
Object
- Object
- Oncall::Core::Config
- Defined in:
- lib/oncall/core/config.rb
Constant Summary collapse
- DEFAULT_PATTERN =
'**{,/*/**}/*_oncall.rb'.freeze
Instance Method Summary collapse
Instance Method Details
#domain ⇒ Object
14 15 16 |
# File 'lib/oncall/core/config.rb', line 14 def domain 'localhost' end |
#failure_exit_code ⇒ Object
10 11 12 |
# File 'lib/oncall/core/config.rb', line 10 def failure_exit_code 1 end |
#pattern ⇒ Object
6 7 8 |
# File 'lib/oncall/core/config.rb', line 6 def pattern DEFAULT_PATTERN end |
#port ⇒ Object
18 19 20 |
# File 'lib/oncall/core/config.rb', line 18 def port 4567 end |
#test_files ⇒ Object
22 23 24 |
# File 'lib/oncall/core/config.rb', line 22 def test_files Dir.glob(pattern) end |