Class: LWS::DigitalSignage::Player::Feedback::Result

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

The player feedback result 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

#dig, #reload, #rollback, #save

Instance Attribute Details

#feedbackPlayer::Feedback

Returns the player feedback the result is a part of.

Returns:



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

belongs_to :feedback, class_name: "LWS::DigitalSignage::Player::Feedback",
uri: "players/:player_id/feedbacks/:id"

#feedback_idPlayer::Feedback

Returns the ID of the player feedback the result is a part of.

Returns:



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

attribute :feedback_id

#keyString

Returns the key of the player feedback result.

Returns:

  • (String)

    the key of the player feedback result



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

attribute :key

#playerPlayer

Returns the player the feedback result is for.

Returns:

  • (Player)

    the player the feedback result is for



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

belongs_to :player, class_name: "LWS::DigitalSignage::Player"

#player_idInteger

Returns the ID of the player the feedback result is for.

Returns:

  • (Integer)

    the ID of the player the feedback result is for



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

attribute :player_id

#valueString

Returns the value of the player feedback result.

Returns:

  • (String)

    the value of the player feedback result



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

attribute :value