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
Note:
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_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_releases ⇒ Array<Player::Os::Branch::Release>
Returns the branch releases the player OS package version is a part of.
1467 1468 1469 |
# File 'lib/lws/apps/digital_signage.rb', line 1467 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.
1452 |
# File 'lib/lws/apps/digital_signage.rb', line 1452 attribute :number |
#package ⇒ Player::Os::Package
Returns the player OS package the version is of.
1456 1457 |
# File 'lib/lws/apps/digital_signage.rb', line 1456 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.
1461 |
# File 'lib/lws/apps/digital_signage.rb', line 1461 attribute :package_id |