Method: Unified2::Sensor#to_h

Defined in:
lib/unified2/sensor.rb

#to_hObject



38
39
40
41
42
43
44
45
46
# File 'lib/unified2/sensor.rb', line 38

def to_h
  to_hash = {
    :name => name,
    :hostname => hostname,
    :checksum => checksum,
    :id => id,
    :interface => interface
  }
end