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
-
#created_at ⇒ String
readonly
The timestamp of when the player OS branch was created.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the player OS branch.
-
#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 ⇒ Fixnum
The ID of the player OS release channel the branch is for.
-
#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.
-
#updated_at ⇒ String
readonly
The timestamp of when the player OS branch was last updated.
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the timestamp of when the player OS branch was created.
1238 |
# File 'lib/lws/apps/digital_signage.rb', line 1238 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the player OS branch.
1204 |
# File 'lib/lws/apps/digital_signage.rb', line 1204 attribute :id |
#models ⇒ Array<Player::Model>
Returns the player models that allow the player OS branch to be used.
1209 |
# File 'lib/lws/apps/digital_signage.rb', line 1209 has_many :models, class_name: "LWS::DigitalSignage::Player::Model" |
#name ⇒ String
Returns the name of the player OS branch.
1213 |
# File 'lib/lws/apps/digital_signage.rb', line 1213 attribute :name |
#release_channel ⇒ Player::Os::Branch::ReleaseChannel
Returns the player OS release channel the branch is for.
1218 1219 |
# File 'lib/lws/apps/digital_signage.rb', line 1218 belongs_to :release_channel, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel", uri: "player/os/release_channels/:id" |
#release_channel_id ⇒ Fixnum
Returns the ID of the player OS release channel the branch is for.
1224 |
# File 'lib/lws/apps/digital_signage.rb', line 1224 attribute :release_channel_id |
#releases ⇒ Array<Player::Os::Branch::Release>
Returns the releases that are part of the branch.
1229 1230 |
# File 'lib/lws/apps/digital_signage.rb', line 1229 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.
1234 |
# File 'lib/lws/apps/digital_signage.rb', line 1234 attribute :slug |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the player OS branch was last updated.
1242 |
# File 'lib/lws/apps/digital_signage.rb', line 1242 attribute :updated_at |