Class: LWS::DigitalSignage::Player::Configuration
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Configuration
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The player configuration class
Defined Under Namespace
Classes: Setting
Instance Attribute Summary collapse
-
#company ⇒ LWS::Auth::Company
The company the player configuration belongs to.
-
#company_id ⇒ Fixnum
The ID of the company the player configuration belongs to.
-
#created_at ⇒ String
readonly
The timestamp of when the player configuration was created.
-
#description ⇒ String?
The description of the player configuration.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the player configuration.
-
#name ⇒ String
The name of the player configuration.
-
#players ⇒ Array<Player>
The players the configuration is used for.
-
#predefined_configuration ⇒ Player::PredefinedConfiguration?
The predefined configuration that is used as a bases for the configuration.
-
#predefined_configuration_id ⇒ Fixnum?
The ID of the predefined configuration that is used as a basis for the player configuration.
-
#settings ⇒ Player::Configuration::Setting
The settings of the player configuration.
-
#updated_at ⇒ String
readonly
The timestamp of when the player configuration was last updated.
Instance Attribute Details
#company ⇒ LWS::Auth::Company
Returns the company the player configuration belongs to.
822 |
# File 'lib/lws/apps/digital_signage.rb', line 822 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Fixnum
Returns the ID of the company the player configuration belongs to.
826 |
# File 'lib/lws/apps/digital_signage.rb', line 826 attribute :company_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the player configuration was created.
859 |
# File 'lib/lws/apps/digital_signage.rb', line 859 attribute :created_at |
#description ⇒ String?
Returns the description of the player configuration.
830 |
# File 'lib/lws/apps/digital_signage.rb', line 830 attribute :description |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the player configuration.
818 |
# File 'lib/lws/apps/digital_signage.rb', line 818 attribute :id |
#name ⇒ String
Returns the name of the player configuration.
834 |
# File 'lib/lws/apps/digital_signage.rb', line 834 attribute :name |
#players ⇒ Array<Player>
Returns the players the configuration is used for.
838 839 |
# File 'lib/lws/apps/digital_signage.rb', line 838 has_many :players, class_name: "LWS::DigitalSignage::Player", uri: "player/configurations/:configuration_id/players/(:id)" |
#predefined_configuration ⇒ Player::PredefinedConfiguration?
Returns the predefined configuration that is used as a bases for the configuration.
844 845 |
# File 'lib/lws/apps/digital_signage.rb', line 844 belongs_to :predefined_configuration, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration", uri: "player/predefined_configurations/:id" |
#predefined_configuration_id ⇒ Fixnum?
Returns the ID of the predefined configuration that is used as a basis for the player configuration.
850 |
# File 'lib/lws/apps/digital_signage.rb', line 850 attribute :predefined_configuration_id |
#settings ⇒ Player::Configuration::Setting
Returns the settings of the player configuration.
854 855 |
# File 'lib/lws/apps/digital_signage.rb', line 854 has_many :settings, class_name: "LWS::DigitalSignage::Player::Configuration::Setting", uri: "player/configurations/:configuration_id/settings/(:id)" |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the player configuration was last updated.
863 |
# File 'lib/lws/apps/digital_signage.rb', line 863 attribute :updated_at |