Class: LWS::DigitalSignage::Player::Component::Part

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::Component class.

The player component part class

Instance Attribute Summary collapse

Instance Attribute Details

#componentPlayer::Component

Returns the player component that uses the part.

Returns:



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

belongs_to :component, class_name: "LWS::DigitalSignage::Player::Component",
uri: "player/components/:id"

#component_idFixnum

Returns the ID of the player component that uses the part.

Returns:

  • (Fixnum)

    the ID of the player component that uses the part



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

attribute :component_id

#created_atString (readonly)

Returns the timestamp of when the player component part was created.

Returns:

  • (String)

    the timestamp of when the player component part was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player component part.

Returns:

  • (Fixnum)

    the (unique) ID of the player component part



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

attribute :id

#playerPlayer?

Returns the player the component part is used in.

Returns:

  • (Player, nil)

    the player the component part is used in



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

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

#player_idFixnum?

Returns the ID of the player the component part is used in.

Returns:

  • (Fixnum, nil)

    the ID of the player the component part is used in



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

attribute :player_id

#serial_numberString

Returns the serial number of the player component part.

Returns:

  • (String)

    the serial number of the player component part



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

attribute :serial_number

#updated_atString (readonly)

Returns the timestamp of when the player component part was last updated.

Returns:

  • (String)

    the timestamp of when the player component part was last updated



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

attribute :updated_at