Class: Megar::Files
- Inherits:
-
Object
- Object
- Megar::Files
- Includes:
- CatalogItem
- Defined in:
- lib/megar/catalog/files.rb
Overview
Collection manager for files
Instance Attribute Summary
Attributes included from CatalogItem
#id, #key, #name, #payload, #type
Instance Method Summary collapse
-
#add(attributes) ⇒ Object
Adds an item to the local cached collection given
attributes
hash. -
#initialize(options = {}) ⇒ Files
constructor
A new instance of Files.
Methods included from CatalogItem
#==, #[], #attributes=, #collection, #each, #find_by_type, #reset!, #resource_class
Constructor Details
#initialize(options = {}) ⇒ Files
Returns a new instance of Files.
5 6 |
# File 'lib/megar/catalog/files.rb', line 5 def initialize(={}) end |