Class: LWS::DigitalSignage::Player::Os::Branch::Release
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Os::Branch::Release
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
This class is only used within the context of the LWS::DigitalSignage::Player::Os::Branch class.
The player OS branch release class
Instance Attribute Summary collapse
-
#branch ⇒ Player::Os::Branch
The player OS branch the release is for.
-
#branch_id ⇒ Integer
The ID of the player OS branch the release is for.
-
#commit_date ⇒ String
The date/time of the release (commit).
-
#commit_hash ⇒ String
The SHA256 commit hash of the release (commit).
-
#commit_message ⇒ String
The message of the release (commit).
-
#package_version_changes ⇒ Array<Player::Os::Package::VersionChange>
The player OS package version changes in this release.
-
#package_versions ⇒ Array<Player::Os::Package::Version>
The player OS package versions in this release.
-
#parent ⇒ Player::Os::Branch::Release?
The parent of the player OS branch release.
-
#parent_id ⇒ Integer?
The ID of the parent of the player OS branch release.
-
#promoted_release ⇒ Player::Os::Branch::Release?
The player OS branch release that the release is a promotion of.
-
#promoted_release_id ⇒ Integer?
The ID of the player OS branch release that the release is a promotion of.
-
#promoting_releases ⇒ Array<Player::Os::Branch::Release>
The player OS branch releases that promote the release.
-
#version ⇒ String
The version of the release.
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
#branch ⇒ Player::Os::Branch
Returns the player OS branch the release is for.
1255 1256 |
# File 'lib/lws/apps/digital_signage.rb', line 1255 belongs_to :branch, class_name: "LWS::DigitalSignage::Player::Os::Branch", uri: "player/os/branches/:id" |
#branch_id ⇒ Integer
Returns the ID of the player OS branch the release is for.
1260 |
# File 'lib/lws/apps/digital_signage.rb', line 1260 attribute :branch_id |
#commit_date ⇒ String
Returns the date/time of the release (commit).
1264 |
# File 'lib/lws/apps/digital_signage.rb', line 1264 attribute :commit_date |
#commit_hash ⇒ String
Returns the SHA256 commit hash of the release (commit).
1268 |
# File 'lib/lws/apps/digital_signage.rb', line 1268 attribute :commit_hash |
#commit_message ⇒ String
Returns the message of the release (commit).
1272 |
# File 'lib/lws/apps/digital_signage.rb', line 1272 attribute :commit_message |
#package_version_changes ⇒ Array<Player::Os::Package::VersionChange>
Returns the player OS package version changes in this release.
1285 1286 |
# File 'lib/lws/apps/digital_signage.rb', line 1285 has_many :package_version_changes, class_name: "LWS::DigitalSignage::Player::Os::Package::VersionChange", uri: "player/os/branches/:branch_id/releases/:release_id/package_version_changes(/:id)" |
#package_versions ⇒ Array<Player::Os::Package::Version>
Returns the player OS package versions in this release.
1278 1279 |
# File 'lib/lws/apps/digital_signage.rb', line 1278 has_many :package_versions, class_name: "LWS::DigitalSignage::Player::Os::Package::Version", uri: "player/os/branches/:branch_id/releases/:release_id/package_versions(/:id)" |
#parent ⇒ Player::Os::Branch::Release?
Returns the parent of the player OS branch release.
1291 1292 1293 |
# File 'lib/lws/apps/digital_signage.rb', line 1291 belongs_to :parent, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release", foreign_key: :parent_id, uri: "player/os/branches/:branch_id/releases/:id" |
#parent_id ⇒ Integer?
Returns the ID of the parent of the player OS branch release.
1297 |
# File 'lib/lws/apps/digital_signage.rb', line 1297 attribute :parent_id |
#promoted_release ⇒ Player::Os::Branch::Release?
Returns the player OS branch release that the release is a promotion of.
1302 1303 1304 |
# File 'lib/lws/apps/digital_signage.rb', line 1302 belongs_to :promoted_release, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release", foreign_key: :promoted_release_id, uri: "player/os/branches/:branch_id/releases/:id" |
#promoted_release_id ⇒ Integer?
Returns the ID of the player OS branch release that the release is a promotion of.
1309 |
# File 'lib/lws/apps/digital_signage.rb', line 1309 attribute :promoted_release_id |
#promoting_releases ⇒ Array<Player::Os::Branch::Release>
Returns the player OS branch releases that promote the release.
1314 |
# File 'lib/lws/apps/digital_signage.rb', line 1314 has_many :promoting_release, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release" |
#version ⇒ String
Returns the version of the release.
1318 |
# File 'lib/lws/apps/digital_signage.rb', line 1318 attribute :version |