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

#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



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

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



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

attribute :name

#playersArray<Player>

Returns the players that use the player OS release channel.

Returns:

  • (Array<Player>)

    the players that use the player OS release channel



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

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



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

attribute :slug