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



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

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



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

attribute :player_id

#screenshot_objectString

Returns the URL of the player screenshot object.

Returns:

  • (String)

    the URL of the player screenshot object



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

attribute :screenshot_object