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

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

The player feedback class

Defined Under Namespace

Classes: Result

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the player feedback was created.

Returns:

  • (String)

    the timestamp of when the player feedback was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player feedback.

Returns:

  • (Fixnum)

    the (unique) ID of the player feedback



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

attribute :id

#playerPlayer

Returns the player the feedback is originating from.

Returns:

  • (Player)

    the player the feedback is originating from



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

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

#player_idFixnum

Returns the ID of the player the feedback is originating from.

Returns:

  • (Fixnum)

    the ID of the player the feedback is originating from



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

attribute :player_id

#releasePlayer::Os::Branch::Release

Returns the player OS branch release the feedback is related to.

Returns:



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

belongs_to :release, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release",
uri: "player/os/branches/:branch_id/releases/:id"

#release_idFixnum

Returns the ID of the player OS branch release the feedback is related to.

Returns:

  • (Fixnum)

    the ID of the player OS branch release the feedback is related to



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

#resultsArray<Player::Feedback::Result>

Returns the results of the player feedback.

Returns:



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

has_many :results, class_name: "LWS::DigitalSignage::Player::Feedback::Result",
uri: "players/:player_id/feedbacks/:feedback_id/results/(:id)"

#updated_atString (readonly)

Returns the timestamp of when the player feedback was last updated.

Returns:

  • (String)

    the timestamp of when the player feedback was last updated



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

attribute :updated_at