Class: OpenHAB::Core::DTO::AbstractThingDTO

Inherits:
Object
  • Object
show all
Defined in:
lib/openhab/core/dto/thing.rb

Overview

Adds methods to core openHAB AbstractThingDTO to make it more natural in Ruby

Instance Attribute Summary collapse

Instance Attribute Details

#bridge_uidString? (readonly)

The Bridge's UID

Returns:

  • (String, nil)


23
# File 'lib/openhab/core/dto/thing.rb', line 23

alias_method :bridge_uid, :bridgeUID

#thing_type_uidString (readonly)

The thing type's UID

Returns:

  • (String)


18
# File 'lib/openhab/core/dto/thing.rb', line 18

alias_method :thing_type_uid, :thingTypeUID

#uidString (readonly)

The thing's UID

Returns:

  • (String)


13
# File 'lib/openhab/core/dto/thing.rb', line 13

alias_method :uid, :UID