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

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#action"unknown", ...



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

attribute :action

#argumentString?



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

attribute :argument

#logPlayer::Log?

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



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

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

#log_idInteger?



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

attribute :log_id

#playerPlayer



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

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

#player_idInteger



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

attribute :player_id

#processedBoolean



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

attribute :processed

#responseString?



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

attribute :response

#screenshotPlayer::Screenshot?

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



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

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

#screenshot_idInteger?



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

attribute :screenshot_id