Class: LWS::DigitalSignage::Player::Log

Inherits:
Generic::Model 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 log 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

#log_objectString

Returns the URL of the player log object.

Returns:

  • (String)

    the URL of the player log object



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

attribute :log_object

#playerPlayer

Returns the player the log is produced by.

Returns:

  • (Player)

    the player the log is produced by



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

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

#player_idInteger

Returns the ID of the player the log is produced by.

Returns:

  • (Integer)

    the ID of the player the log is produced by



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

attribute :player_id

#processedBoolean

Returns whether the player log has been processed.

Returns:

  • (Boolean)

    whether the player log has been processed



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

attribute :processed