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

#dig, #reload, #rollback, #save

Instance Attribute Details

#branchesArray<Player::Os::Branch>



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

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

#capabilitiesArray<Player::Model::Capability>



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

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

#componentsArray<Player::Component>



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

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

#mbf_hoursInteger



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

attribute :mbf_hours

#nameString



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

attribute :name

#playersArray<Player>



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

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

#release_channelsArray<Player::Os::ReleaseChannel>



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

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

#resolutionsArray<Display::Resolution>



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

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

#slugString (readonly)



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

attribute :slug

#support_endString



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

attribute :support_end

#support_eolString



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

attribute :support_eol

#support_startsString



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

attribute :support_starts

#temperature_criticalInteger?



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

attribute :temperature_critical

#temperature_warningInteger?



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

attribute :temperature_warning