Class: PulseMeter::SensorData

Inherits:
Struct
  • Object
show all
Defined in:
lib/pulse-meter/sensor.rb

Overview

Atomic sensor data

Instance Attribute Summary collapse

Instance Attribute Details

#start_timeObject

Returns the value of attribute start_time

Returns:

  • (Object)

    the current value of start_time



20
21
22
# File 'lib/pulse-meter/sensor.rb', line 20

def start_time
  @start_time
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



20
21
22
# File 'lib/pulse-meter/sensor.rb', line 20

def value
  @value
end