Class: LWS::DigitalSignage::Player::Screenshot

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

#playerPlayer

Returns the player the screenshot is made by.

Returns:

  • (Player)

    the player the screenshot is made by



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

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

#player_idInteger

Returns the ID of the player the screenshot is made by.

Returns:

  • (Integer)

    the ID of the player the screenshot is made by



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

attribute :player_id

#screenshot_objectString

Returns the URL of the player screenshot object.

Returns:

  • (String)

    the URL of the player screenshot object



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

attribute :screenshot_object