Class: LWS::DigitalSignage::Player::Configuration

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

Overview

The player configuration class

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

#reload, #rollback, #save

Instance Attribute Details

#companyLWS::Auth::Company



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

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

#company_idInteger



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

attribute :company_id

#descriptionString?



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

attribute :description

#nameString



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

attribute :name

#playersArray<Player>



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

has_many :players, class_name: "LWS::DigitalSignage::Player",
uri: "player/configurations/:configuration_id/players(/:id)"

#predefined_configurationPlayer::PredefinedConfiguration?



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

belongs_to :predefined_configuration, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration",
uri: "player/predefined_configurations/:id"

#predefined_configuration_idInteger?



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

attribute :predefined_configuration_id

#settingsPlayer::Configuration::Setting



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

has_many :settings, class_name: "LWS::DigitalSignage::Player::Configuration::Setting",
uri: "player/configurations/:configuration_id/settings(/:id)"