Class: LWS::DigitalSignage::Player::Os::ReleaseChannel

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

Overview

The player OS release channel 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_idsArray<Integer>

Returns the IDs of the branches that belong to the player OS release channel.

Returns:

  • (Array<Integer>)

    the IDs of the branches that belong to the player OS release channel



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

attribute :branch_ids

#branchesArray<Player::Os::Branch>

Returns the branches that belong to the player OS release channel.

Returns:

  • (Array<Player::Os::Branch>)

    the branches that belong to the player OS release channel



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

has_many :branches, class_name: "LWS::DigitalSignage::Player::Os::Branch",
uri: "player/os/release_channels/:release_channel_id/branches(/:id)"

#nameString

Returns the name of the player OS release channel.

Returns:

  • (String)

    the name of the player OS release channel



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

attribute :name

#player_idsArray<Integer>

Returns the IDs of the players that use the player OS release channel.

Returns:

  • (Array<Integer>)

    the IDs of the players that use the player OS release channel



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

attribute :player_ids

#playersArray<Player>

Returns the players that use the player OS release channel.

Returns:

  • (Array<Player>)

    the players that use the player OS release channel



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

has_many :players, class_name: "LWS::DigitalSignage::Player",
uri: "player/os/release_channels/:release_channel_id/players(/:id)"

#slugString (readonly)

Returns the slug(ified name) of the player OS release channel.

Returns:

  • (String)

    the slug(ified name) of the player OS release channel



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

attribute :slug