Class: OpConnect::ServerHealth::Dependency
- Inherits:
-
Object
- Object
- OpConnect::ServerHealth::Dependency
- Defined in:
- lib/op_connect/server_health/dependency.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Dependency
constructor
A new instance of Dependency.
Constructor Details
#initialize(options = {}) ⇒ Dependency
Returns a new instance of Dependency.
6 7 8 9 10 |
# File 'lib/op_connect/server_health/dependency.rb', line 6 def initialize( = {}) @service = ["service"] @status = ["status"] @message = ["message"] end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/op_connect/server_health/dependency.rb', line 4 def @message end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
4 5 6 |
# File 'lib/op_connect/server_health/dependency.rb', line 4 def service @service end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/op_connect/server_health/dependency.rb', line 4 def status @status end |