Class: LWS::Presence::Reader

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/presence.rb

Overview

The reader class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#dig, #reload, #rollback, #save

Instance Attribute Details

#gatewayInteger

Returns the (32-bit) LCIO gateway ID of the reader.

Returns:

  • (Integer)

    the (32-bit) LCIO gateway ID of the reader



562
# File 'lib/lws/apps/presence.rb', line 562

attribute :gateway

#locationLocation

Returns the location of the reader.

Returns:

  • (Location)

    the location of the reader



566
# File 'lib/lws/apps/presence.rb', line 566

belongs_to :location

#location_idInteger

Returns the ID of the location of the reader.

Returns:

  • (Integer)

    the ID of the location of the reader



570
# File 'lib/lws/apps/presence.rb', line 570

attribute :location_id

#nodeInteger

Returns the (8-bit) LCIO gateway node number of the reader.

Returns:

  • (Integer)

    the (8-bit) LCIO gateway node number of the reader



574
# File 'lib/lws/apps/presence.rb', line 574

attribute :node