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, #name

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#reload, #rollback, #save

Instance Attribute Details

#data_urlString

Returns the URL of the image.

Returns:

  • (String)

    the URL of the image



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

attribute :data_url

#metadataHash

Returns the metadata of the image.

Returns:

  • (Hash)

    the metadata of the image



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

attribute :metadata