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



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

attribute :data_url

#thumbnail_urlString

Returns the URL of the thumbnail of the youtube.

Returns:

  • (String)

    the URL of the thumbnail of the youtube



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

attribute :thumbnail_url