Class: LWS::Presence::Reader

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

Overview

The reader class

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the reader was created.

Returns:

  • (String)

    the timestamp of when the reader was created



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

attribute :created_at

#gatewayFixnum

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

Returns:

  • (Fixnum)

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



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

attribute :gateway

#idFixnum (readonly)

Returns the (unique) ID of the reader.

Returns:

  • (Fixnum)

    the (unique) ID of the reader



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

attribute :id

#locationLocation

Returns the location of the reader.

Returns:

  • (Location)

    the location of the reader



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

belongs_to :location

#location_idFixnum

Returns the ID of the location of the reader.

Returns:

  • (Fixnum)

    the ID of the location of the reader



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

attribute :location_id

#nodeFixnum

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

Returns:

  • (Fixnum)

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



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

attribute :node

#updated_atString (readonly)

Returns the timestamp of when the reader was last updated.

Returns:

  • (String)

    the timestamp of when the reader was last updated



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

attribute :updated_at