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:



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

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



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

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



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

attribute :created_at

#idFixnum (readonly)

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

Returns:

  • (Fixnum)

    the (unique) ID of the player component part



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

attribute :id

#playerPlayer?

Returns the player the component part is used in.

Returns:

  • (Player, nil)

    the player the component part is used in



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

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



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

attribute :player_id

#serial_numberString

Returns the serial number of the player component part.

Returns:

  • (String)

    the serial number of the player component part



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

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



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

attribute :updated_at