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.
564 |
# File 'lib/lws/apps/digital_signage.rb', line 564 attribute :aspect_ratio |
#created_at ⇒ String (readonly)
Returns the timestamp of when the display resolution was created.
592 |
# File 'lib/lws/apps/digital_signage.rb', line 592 attribute :created_at |
#displays ⇒ Array<Display>
Returns the displays supporting the display resolution.
568 569 |
# File 'lib/lws/apps/digital_signage.rb', line 568 has_many :displays, class_name: "LWS::DigitalSignage::Display", uri: "display/resolutions/:resolution_id/displays/(:id)" |
#height ⇒ Fixnum
Returns the height of the resolution.
573 |
# File 'lib/lws/apps/digital_signage.rb', line 573 attribute :height |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the display resolution.
557 |
# File 'lib/lws/apps/digital_signage.rb', line 557 attribute :id |
#models ⇒ Array<Player::Model>
Returns the player models that support the display resolution.
578 579 |
# File 'lib/lws/apps/digital_signage.rb', line 578 has_many :models, class_name: "LWS::DigitalSignage::Player::Model", uri: "display/resolutions/:resolution_id/models/(:id)" |
#scanning_mode ⇒ "progressive", "interlaced"
Returns the scanning mode setting of the display resolution.
584 |
# File 'lib/lws/apps/digital_signage.rb', line 584 attribute :scanning_mode |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the display resolution was last updated.
596 |
# File 'lib/lws/apps/digital_signage.rb', line 596 attribute :updated_at |
#width ⇒ Fixnum
Returns the width of the resolution.
588 |
# File 'lib/lws/apps/digital_signage.rb', line 588 attribute :width |