Class: LWS::DigitalSignage::Player::Request

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 request 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

#reload, #rollback, #save

Instance Attribute Details

#action"unknown", ...



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

attribute :action

#argumentString?



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

attribute :argument

#feedbackPlayer::Feedback?

This field should be set once the action has been processed (see #processed) and the action is “send_feedback”.



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

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

#feedback_idInteger?



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

attribute :feedback_id

#logPlayer::Log?

This field should be set once the action has been processed (see #processed) and the action is “send_logs”.



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

belongs_to :log, class_name: "LWS::DigitalSignage::Player::Log",
uri: "players/:player_id/logs/:id"

#log_idInteger?



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

attribute :log_id

#playerPlayer



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

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

#player_idInteger



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

attribute :player_id

#processedBoolean



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

attribute :processed

#responseString?



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

attribute :response

#screenshotPlayer::Screenshot?

This field should be set once the action has been processed (see #processed) and the action is “send_screenshot”.



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

belongs_to :screenshot, class_name: "LWS::DigitalSignage::Player::Screenshot",
uri: "players/:player_id/screenshots/:id"

#screenshot_idInteger?



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

attribute :screenshot_id