Class: LWS::DigitalSignage::Player::Os::Package::Version

Inherits:
Generic::Model
  • Object
show all
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

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_idsArray<Integer>

Returns the IDs of the branch releases the player OS package version is a part of.

Returns:

  • (Array<Integer>)

    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_releasesArray<Player::Os::Branch::Release>

Returns the branch releases the player OS package version is a part of.

Returns:



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"

#numberString

Returns the number of the player OS package version.

Returns:

  • (String)

    the number of the player OS package version



1674
# File 'lib/lws/apps/digital_signage.rb', line 1674

attribute :number

#packagePlayer::Os::Package

Returns the player OS package the version is of.

Returns:



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_idInteger

Returns the ID the player OS package the version is of.

Returns:

  • (Integer)

    the ID the player OS package the version is of



1683
# File 'lib/lws/apps/digital_signage.rb', line 1683

attribute :package_id