Class: LWS::DigitalSignage::Player::Model::Capability

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::Model class.

The player model capability 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

#keyString

Returns the key of the player model capability.

Returns:

  • (String)

    the key of the player model capability



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

attribute :key

#modelPlayer::Model

Returns the player model that has the capability.

Returns:



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

belongs_to :model, class_name: "LWS::DigitalSignage::Player::Model",
uri: "player/models/:id"

#model_idInteger

Returns the ID of the player model that has the capability.

Returns:

  • (Integer)

    the ID of the player model that has the capability



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

attribute :model_id

#valueString

Returns the value of the player model capability.

Returns:

  • (String)

    the value of the player model capability



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

attribute :value