Class: LWS::DigitalSignage::Player::Os::Branch
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Os::Branch
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The player OS branch class
Defined Under Namespace
Classes: Release
Instance Attribute Summary collapse
-
#model_ids ⇒ Array<Integer>
The IDs of the player models that allow the player OS branch to be used.
-
#models ⇒ Array<Player::Model>
The player models that allow the player OS branch to be used.
-
#name ⇒ String
The name of the player OS branch.
-
#release_channel ⇒ Player::Os::Branch::ReleaseChannel
The player OS release channel the branch is for.
-
#release_channel_id ⇒ Integer
The ID of the player OS release channel the branch is for.
-
#release_ids ⇒ Array<Integer>
The IDs of the releases that are part of the branch.
-
#releases ⇒ Array<Player::Os::Branch::Release>
The releases that are part of the branch.
-
#slug ⇒ String
readonly
The slug(ified name) of the player OS branch.
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
#model_ids ⇒ Array<Integer>
Returns the IDs of the player models that allow the player OS branch to be used.
1501 |
# File 'lib/lws/apps/digital_signage.rb', line 1501 attribute :model_ids |
#models ⇒ Array<Player::Model>
Returns the player models that allow the player OS branch to be used.
1506 |
# File 'lib/lws/apps/digital_signage.rb', line 1506 has_many :models, class_name: "LWS::DigitalSignage::Player::Model" |
#name ⇒ String
Returns the name of the player OS branch.
1510 |
# File 'lib/lws/apps/digital_signage.rb', line 1510 attribute :name |
#release_channel ⇒ Player::Os::Branch::ReleaseChannel
Returns the player OS release channel the branch is for.
1515 1516 |
# File 'lib/lws/apps/digital_signage.rb', line 1515 belongs_to :release_channel, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel", uri: "player/os/release_channels/:id" |
#release_channel_id ⇒ Integer
Returns the ID of the player OS release channel the branch is for.
1521 |
# File 'lib/lws/apps/digital_signage.rb', line 1521 attribute :release_channel_id |
#release_ids ⇒ Array<Integer>
Returns the IDs of the releases that are part of the branch.
1526 |
# File 'lib/lws/apps/digital_signage.rb', line 1526 attribute :release_ids |
#releases ⇒ Array<Player::Os::Branch::Release>
Returns the releases that are part of the branch.
1531 1532 |
# File 'lib/lws/apps/digital_signage.rb', line 1531 has_many :releases, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release", uri: "player/os/branches/:branch_id/releases(/:id)" |
#slug ⇒ String (readonly)
Returns the slug(ified name) of the player OS branch.
1536 |
# File 'lib/lws/apps/digital_signage.rb', line 1536 attribute :slug |