Class: Tinkerforge::BrickletNFC

Inherits:
Object
  • Object
show all
Defined in:
lib/tinderfridge/devices/bricklet_nfc/bricklet_nfc.rb

Instance Method Summary collapse

Instance Method Details

#stateObject

Returns the device’s state.



6
7
8
9
10
11
12
# File 'lib/tinderfridge/devices/bricklet_nfc/bricklet_nfc.rb', line 6

def state
  super.merge(
    'mode'                 => get_mode,
    'detection_led_config' => get_detection_led_config,
    'maximum_timeout'      => get_maximum_timeout,
  )
end