Class: LWS::Resource::Collection::Image
- Inherits:
-
Item
- Object
- Spyke::Base
- Generic::Model
- Item
- LWS::Resource::Collection::Image
- Defined in:
- lib/lws/apps/resource.rb
Overview
The collection image class
Instance Attribute Summary collapse
-
#data_url ⇒ String
The URL of the image.
-
#thumbnail_url ⇒ String
The URL of the thumbnail of the image.
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_url ⇒ String
Returns the URL of the image.
275 |
# File 'lib/lws/apps/resource.rb', line 275 attribute :data_url |
#thumbnail_url ⇒ String
Returns the URL of the thumbnail of the image.
279 |
# File 'lib/lws/apps/resource.rb', line 279 attribute :thumbnail_url |