Class: OpConnect::ServerHealth::Dependency

Inherits:
Object
  • Object
show all
Defined in:
lib/op_connect/server_health/dependency.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @service = options["service"]
  @status = options["status"]
  @message = options["message"]
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/op_connect/server_health/dependency.rb', line 4

def message
  @message
end

#serviceObject (readonly)

Returns the value of attribute service.



4
5
6
# File 'lib/op_connect/server_health/dependency.rb', line 4

def service
  @service
end

#statusObject (readonly)

Returns the value of attribute status.



4
5
6
# File 'lib/op_connect/server_health/dependency.rb', line 4

def status
  @status
end