Class: ImageAsset
- Inherits:
-
Asset
- Object
- RestfulModel
- Asset
- ImageAsset
- Defined in:
- lib/image_asset.rb
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
Attributes inherited from Asset
Attributes inherited from RestfulModel
Class Method Summary collapse
Methods inherited from Asset
Methods inherited from RestfulModel
#==, #as_json, #destroy, #inflate, #initialize, #path, #save!, #update
Constructor Details
This class inherits a constructor from Asset
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link.
5 6 7 |
# File 'lib/image_asset.rb', line 5 def link @link end |
Class Method Details
.collection_name ⇒ Object
7 8 9 |
# File 'lib/image_asset.rb', line 7 def self.collection_name "images" end |