Class: LWS::DigitalSignage::Display::Resolution
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Display::Resolution
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The display resolution class
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
readonly
The aspect ratio is recalculated immediately when the width and/or height of the resolution changes.
-
#created_at ⇒ String
readonly
The timestamp of when the display resolution was created.
-
#displays ⇒ Array<Display>
The displays supporting the display resolution.
-
#height ⇒ Fixnum
The height of the resolution.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the display resolution.
-
#models ⇒ Array<Player::Model>
The player models that support the display resolution.
-
#scanning_mode ⇒ "progressive", "interlaced"
The scanning mode setting of the display resolution.
-
#updated_at ⇒ String
readonly
The timestamp of when the display resolution was last updated.
-
#width ⇒ Fixnum
The width of the resolution.
Instance Attribute Details
#aspect_ratio ⇒ String (readonly)
The aspect ratio is recalculated immediately when the width and/or height of the resolution changes.
543 |
# File 'lib/lws/apps/digital_signage.rb', line 543 attribute :aspect_ratio |
#created_at ⇒ String (readonly)
Returns the timestamp of when the display resolution was created.
571 |
# File 'lib/lws/apps/digital_signage.rb', line 571 attribute :created_at |
#displays ⇒ Array<Display>
Returns the displays supporting the display resolution.
547 548 |
# File 'lib/lws/apps/digital_signage.rb', line 547 has_many :displays, class_name: "LWS::DigitalSignage::Display", uri: "display/resolutions/:resolution_id/displays" |
#height ⇒ Fixnum
Returns the height of the resolution.
552 |
# File 'lib/lws/apps/digital_signage.rb', line 552 attribute :height |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the display resolution.
536 |
# File 'lib/lws/apps/digital_signage.rb', line 536 attribute :id |
#models ⇒ Array<Player::Model>
Returns the player models that support the display resolution.
557 558 |
# File 'lib/lws/apps/digital_signage.rb', line 557 has_many :models, class_name: "LWS::DigitalSignage::Player::Model", uri: "display/resolutions/:resolution_id/models" |
#scanning_mode ⇒ "progressive", "interlaced"
Returns the scanning mode setting of the display resolution.
563 |
# File 'lib/lws/apps/digital_signage.rb', line 563 attribute :scanning_mode |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the display resolution was last updated.
575 |
# File 'lib/lws/apps/digital_signage.rb', line 575 attribute :updated_at |
#width ⇒ Fixnum
Returns the width of the resolution.
567 |
# File 'lib/lws/apps/digital_signage.rb', line 567 attribute :width |