Class: ImageAsset

Inherits:
Asset show all
Defined in:
lib/image_asset.rb

Instance Attribute Summary collapse

Attributes inherited from Asset

#description, #title

Attributes inherited from RestfulModel

#_id, #created_at

Class Method Summary collapse

Methods inherited from Asset

#as_json, #initialize

Methods inherited from RestfulModel

#==, #as_json, #destroy, #inflate, #initialize, #path, #save!, #update

Constructor Details

This class inherits a constructor from Asset

Instance Attribute Details

Returns the value of attribute link.



5
6
7
# File 'lib/image_asset.rb', line 5

def link
  @link
end

Class Method Details

.collection_nameObject



7
8
9
# File 'lib/image_asset.rb', line 7

def self.collection_name
  "images"
end