Class: LWS::DigitalSignage::Player::PredefinedConfiguration

Inherits:
Generic::Model
  • Object
show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

The predefined player configuration

Defined Under Namespace

Classes: Setting

Instance Attribute Summary collapse

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

#companyLWS::Auth::Company

Returns the company the predefined player configuration belongs to.

Returns:



1568
# File 'lib/lws/apps/digital_signage.rb', line 1568

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idInteger

Returns the ID of the company the predefined player configuration belongs to.

Returns:

  • (Integer)

    the ID of the company the predefined player configuration belongs to



1572
# File 'lib/lws/apps/digital_signage.rb', line 1572

attribute :compandy_id

#configurationsArray<Player::Configuration>

Returns the player configurations that use the predefined player configuration as a basis.

Returns:

  • (Array<Player::Configuration>)

    the player configurations that use the predefined player configuration as a basis



1577
1578
# File 'lib/lws/apps/digital_signage.rb', line 1577

has_many :configurations, class_name: "LWS::DigitalSignage::Player::Configuration",
uri: "player/predefined_configurations/:predefined_configuration_id/configurations(/:id)"

#descriptionString

Returns the description of the predefined player configuration.

Returns:

  • (String)

    the description of the predefined player configuration



1582
# File 'lib/lws/apps/digital_signage.rb', line 1582

attribute :description

#nameString

Returns the name of the predefined player configuration.

Returns:

  • (String)

    the name of the predefined player configuration



1586
# File 'lib/lws/apps/digital_signage.rb', line 1586

attribute :name

#settingsPlayer::PredefinedConfiguration::Setting

Returns the settings of the predefined player configuration.

Returns:



1591
1592
# File 'lib/lws/apps/digital_signage.rb', line 1591

has_many :settings, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration::Setting",
uri: "player/predefined_configurations/:predefined_configuration_id/settings(/:id)"