Class: Livestatus::Service

Inherits:
Base
  • Object
show all
Includes:
CheckType, ID, State
Defined in:
lib/livestatus/models/service.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods included from State

#state, #state_class, #state_type

Methods included from CheckType

#check_type

Methods included from ID

#id

Methods inherited from Base

boolean_attributes, #initialize, #method_missing, table_name, time_attributes

Constructor Details

This class inherits a constructor from Livestatus::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Livestatus::Base

Instance Method Details

#_idObject



26
27
28
# File 'lib/livestatus/models/service.rb', line 26

def _id
  host_display_name + display_name
end