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.
640 |
# File 'lib/lws/apps/presence.rb', line 640 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the reader belongs to.
644 |
# File 'lib/lws/apps/presence.rb', line 644 attribute :company_id |
#gateway ⇒ Integer
Returns the (32-bit) LCIO gateway ID of the reader.
648 |
# File 'lib/lws/apps/presence.rb', line 648 attribute :gateway |
#location ⇒ Location
Returns the location of the reader.
652 |
# File 'lib/lws/apps/presence.rb', line 652 belongs_to :location |
#location_id ⇒ Integer
Returns the ID of the location of the reader.
656 |
# File 'lib/lws/apps/presence.rb', line 656 attribute :location_id |
#name ⇒ String
Returns the name of the reader.
660 |
# File 'lib/lws/apps/presence.rb', line 660 attribute :name |
#node ⇒ Integer
Returns the (8-bit) LCIO gateway node number of the reader.
664 |
# File 'lib/lws/apps/presence.rb', line 664 attribute :node |
#serial_number ⇒ String
Returns the serial number of the reader.
668 |
# File 'lib/lws/apps/presence.rb', line 668 attribute :serial_number |