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

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

Returns:



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"

#numberString

Returns the number of the player OS package version.

Returns:

  • (String)

    the number of the player OS package version



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

attribute :number

#packagePlayer::Os::Package

Returns the player OS package the version is of.

Returns:



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_idInteger

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

Returns:

  • (Integer)

    the ID the player OS package the version is of



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

attribute :package_id