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

Inherits:
Generic::Model
  • Object
show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

The player OS package class

Defined Under Namespace

Classes: Version, VersionChange

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

#nameString

Returns the name of the player OS package.

Returns:

  • (String)

    the name of the player OS package



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

attribute :name

#version_change_idsArray<Integer>

Returns the IDs of the version changes of the player OS package present in branches.

Returns:

  • (Array<Integer>)

    the IDs of the version changes of the player OS package present in branches



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

attribute :version_change_ids

#version_changesArray<Player::Os::Package::VersionChange>

Returns the version changes of the player OS package present in branches.

Returns:



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

has_many :version_changes, class_name: "LWS::DigitalSignage::Player::Os::Package::VersionChange",
uri: "player/os/packages/:package_id/version_changes(/:id)"

#version_idsArray<Integer>

Returns the IDs of the versions of the player OS package present in branches.

Returns:

  • (Array<Integer>)

    the IDs of the versions of the player OS package present in branches



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

attribute :version_ids

#versionsArray<Player::Os::Package::Version>

Returns the versions of the player OS package present in branches.

Returns:



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

has_many :versions, class_name: "LWS::DigitalSignage::Player::Os::Package::Version",
uri: "player/os/packages/:package_id/versions(/:id)"