Class: LWS::Presence::Reader
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Presence::Reader
- Defined in:
- lib/lws/apps/presence.rb
Overview
The reader class
Instance Attribute Summary collapse
-
#company ⇒ LWS::Auth::Company
The company the reader belongs to.
-
#company_id ⇒ Integer
The ID of the company the reader belongs to.
-
#gateway ⇒ Integer
The (32-bit) LCIO gateway ID of the reader.
-
#location ⇒ Location
The location of the reader.
-
#location_id ⇒ Integer
The ID of the location of the reader.
-
#name ⇒ String
The name of the reader.
-
#node ⇒ Integer
The (8-bit) LCIO gateway node number of the reader.
-
#serial_number ⇒ String
The serial number of the reader.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#company ⇒ LWS::Auth::Company
Returns the company the reader belongs to.
693 |
# File 'lib/lws/apps/presence.rb', line 693 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the reader belongs to.
697 |
# File 'lib/lws/apps/presence.rb', line 697 attribute :company_id |
#gateway ⇒ Integer
Returns the (32-bit) LCIO gateway ID of the reader.
701 |
# File 'lib/lws/apps/presence.rb', line 701 attribute :gateway |
#location ⇒ Location
Returns the location of the reader.
705 |
# File 'lib/lws/apps/presence.rb', line 705 belongs_to :location |
#location_id ⇒ Integer
Returns the ID of the location of the reader.
709 |
# File 'lib/lws/apps/presence.rb', line 709 attribute :location_id |
#name ⇒ String
Returns the name of the reader.
713 |
# File 'lib/lws/apps/presence.rb', line 713 attribute :name |
#node ⇒ Integer
Returns the (8-bit) LCIO gateway node number of the reader.
717 |
# File 'lib/lws/apps/presence.rb', line 717 attribute :node |
#serial_number ⇒ String
Returns the serial number of the reader.
721 |
# File 'lib/lws/apps/presence.rb', line 721 attribute :serial_number |