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:



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

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



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

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



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

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



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

attribute :description

#nameString

Returns the name of the predefined player configuration.

Returns:

  • (String)

    the name of the predefined player configuration



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

attribute :name

#settingsPlayer::PredefinedConfiguration::Setting

Returns the settings of the predefined player configuration.

Returns:



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

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