Class: LWS::Resource::Collection::Video

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

Overview

The collection video 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 video.

Returns:

  • (String)

    the URL of the video



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

attribute :data_url

#thumbnail_urlString

Returns the URL of the thumbnail of the video.

Returns:

  • (String)

    the URL of the thumbnail of the video



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

attribute :thumbnail_url