Class: LWS::DigitalSignage::Player::Os::Branch

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

Overview

The player OS branch class

Defined Under Namespace

Classes: Release

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the player OS branch was created.

Returns:

  • (String)

    the timestamp of when the player OS branch was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player OS branch.

Returns:

  • (Fixnum)

    the (unique) ID of the player OS branch



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

attribute :id

#modelsArray<Player::Model>

Returns the player models that allow the player OS branch to be used.

Returns:

  • (Array<Player::Model>)

    the player models that allow the player OS branch to be used



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

has_many :models, class_name: "LWS::DigitalSignage::Player::Model"

#nameString

Returns the name of the player OS branch.

Returns:

  • (String)

    the name of the player OS branch



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

attribute :name

#release_channelPlayer::Os::Branch::ReleaseChannel

Returns the player OS release channel the branch is for.

Returns:

  • (Player::Os::Branch::ReleaseChannel)

    the player OS release channel the branch is for



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

belongs_to :release_channel, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel",
uri: "player/os/release_channels/:id"

#release_channel_idFixnum

Returns the ID of the player OS release channel the branch is for.

Returns:

  • (Fixnum)

    the ID of the player OS release channel the branch is for



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

attribute :release_channel_id

#releasesArray<Player::Os::Branch::Release>

Returns the releases that are part of the branch.

Returns:



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

has_many :releases, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release",
uri: "player/os/branches/:branch_id/releases/(:id)"

#slugString (readonly)

Returns the slug(ified name) of the player OS branch.

Returns:

  • (String)

    the slug(ified name) of the player OS branch



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

attribute :slug

#updated_atString (readonly)

Returns the timestamp of when the player OS branch was last updated.

Returns:

  • (String)

    the timestamp of when the player OS branch was last updated



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

attribute :updated_at