Class: LWS::DigitalSignage::Player::Model

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

Overview

The player model

Defined Under Namespace

Classes: Capability

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

#branchesArray<Player::Os::Branch>



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

has_many :branches, class_name: "LWS::DigitalSignage::Player::Os::Branch",
uri: "player/models/:model_id/branches(/:id)"

#capabilitiesArray<Player::Model::Capability>



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

has_many :capabilities, class_name: "LWS::DigitalSignage::Player::Model::Capability",
uri: "player/models/:model_id/capabilities(/:id)"

#componentsArray<Player::Component>



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

has_many :components, class_name: "LWS::DigitalSignage::Player::Component",
uri: "player/models/:model_id/components(/:id)"

#mbf_hoursInteger



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

attribute :mbf_hours

#nameString



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

attribute :name

#playersArray<Player>



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

has_many :players, class_name: "LWS::DigitalSignage::Player",
uri: "player/models/:model_id/players(/:id)"

#release_channelsArray<Player::Os::ReleaseChannel>



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

has_many :release_channels, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel",
uri: "player/models/:model_id/release_channels(/:id)"

#resolutionsArray<Display::Resolution>



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

has_many :resolutions, class_name: "LWS::DigitalSignage::Display::Resolution",
uri: "player/models/:model_id/resolutions(/:id)"

#slugString (readonly)



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

attribute :slug

#support_endString



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

attribute :support_end

#support_eolString



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

attribute :support_eol

#support_startsString



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

attribute :support_starts

#temperature_criticalInteger?



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

attribute :temperature_critical

#temperature_warningInteger?



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

attribute :temperature_warning