Class: LWS::Resource::Collection::Image

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

Overview

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

Returns:

  • (String)

    the URL of the image



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

attribute :data_url

#thumbnail_urlString

Returns the URL of the thumbnail of the image.

Returns:

  • (String)

    the URL of the thumbnail of the image



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

attribute :thumbnail_url