Class: LWS::DigitalSignage::Player::Os::Package::Version
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Os::Package::Version
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
This class is only used within the context of the LWS::DigitalSignage::Player::Os::Package class.
The player OS package version class
Instance Attribute Summary collapse
-
#branch_release_ids ⇒ Array<Integer>
The IDs of the branch releases the player OS package version is a part of.
-
#branch_releases ⇒ Array<Player::Os::Branch::Release>
The branch releases the player OS package version is a part of.
-
#number ⇒ String
The number of the player OS package version.
-
#package ⇒ Player::Os::Package
The player OS package the version is of.
-
#package_id ⇒ Integer
The ID the player OS package the version is of.
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
#branch_release_ids ⇒ Array<Integer>
Returns the IDs of the branch releases the player OS package version is a part of.
1688 |
# File 'lib/lws/apps/digital_signage.rb', line 1688 attribute :branch_release_ids |
#branch_releases ⇒ Array<Player::Os::Branch::Release>
Returns the branch releases the player OS package version is a part of.
1694 1695 1696 |
# File 'lib/lws/apps/digital_signage.rb', line 1694 has_many :branch_releases, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release", foreign_key: :branch_release_id, uri: "player/os/branches/:branch_id/releases/:id" |
#number ⇒ String
Returns the number of the player OS package version.
1674 |
# File 'lib/lws/apps/digital_signage.rb', line 1674 attribute :number |
#package ⇒ Player::Os::Package
Returns the player OS package the version is of.
1678 1679 |
# File 'lib/lws/apps/digital_signage.rb', line 1678 belongs_to :package, class_name: "LWS::DigitalSignage::Player::Os::Package", uri: "player/os/packages/:id" |
#package_id ⇒ Integer
Returns the ID the player OS package the version is of.
1683 |
# File 'lib/lws/apps/digital_signage.rb', line 1683 attribute :package_id |