Class: ErrorRadar::ServerMonitor::Status

Inherits:
Struct
  • Object
show all
Defined in:
lib/error_radar/server_monitor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



13
14
15
# File 'lib/error_radar/server_monitor.rb', line 13

def key
  @key
end

#last_beat_agoObject

Returns the value of attribute last_beat_ago

Returns:

  • (Object)

    the current value of last_beat_ago



13
14
15
# File 'lib/error_radar/server_monitor.rb', line 13

def last_beat_ago
  @last_beat_ago
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



13
14
15
# File 'lib/error_radar/server_monitor.rb', line 13

def name
  @name
end

#processesObject

Returns the value of attribute processes

Returns:

  • (Object)

    the current value of processes



13
14
15
# File 'lib/error_radar/server_monitor.rb', line 13

def processes
  @processes
end

#upObject

Returns the value of attribute up

Returns:

  • (Object)

    the current value of up



13
14
15
# File 'lib/error_radar/server_monitor.rb', line 13

def up
  @up
end