Class: Endcollector
- Inherits:
-
Object
- Object
- Endcollector
- Defined in:
- lib/endcollector.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#jira ⇒ Object
Returns the value of attribute jira.
-
#nagios ⇒ Object
Returns the value of attribute nagios.
Instance Method Summary collapse
-
#initialize(config_file) ⇒ Endcollector
constructor
A new instance of Endcollector.
Constructor Details
#initialize(config_file) ⇒ Endcollector
Returns a new instance of Endcollector.
19 20 21 22 23 |
# File 'lib/endcollector.rb', line 19 def initialize(config_file) @config = YAML::load_file(config_file) @jira = Jira.new(@config) @nagios = Nagios.new(@config) end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
15 16 17 |
# File 'lib/endcollector.rb', line 15 def config @config end |
#jira ⇒ Object
Returns the value of attribute jira.
16 17 18 |
# File 'lib/endcollector.rb', line 16 def jira @jira end |
#nagios ⇒ Object
Returns the value of attribute nagios.
17 18 19 |
# File 'lib/endcollector.rb', line 17 def nagios @nagios end |