Class: LWS::Resource::Collection::YouTube

Inherits:
Item show all
Defined in:
lib/lws/apps/resource.rb

Overview

The collection YouTube class

Instance Attribute Summary collapse

Attributes inherited from Item

#collection, #collection_id, #metadata, #name, #position

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

#data_urlString

Returns the URL of the youtube.

Returns:

  • (String)

    the URL of the youtube



377
# File 'lib/lws/apps/resource.rb', line 377

attribute :data_url

#thumbnail_urlString

Returns the URL of the thumbnail of the youtube.

Returns:

  • (String)

    the URL of the thumbnail of the youtube



381
# File 'lib/lws/apps/resource.rb', line 381

attribute :thumbnail_url