Class: ForestLiana::SmartCollection
- Inherits:
-
Object
- Object
- ForestLiana::SmartCollection
- Defined in:
- app/services/forest_liana/smart_collection.rb
Class Method Summary collapse
Class Method Details
.register(name, opts) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/services/forest_liana/smart_collection.rb', line 3 def self.register(name, opts) smartCollection = ForestLiana::Collection.new({ name: name, fields: opts[:fields] }) ForestLiana.apimap << smartCollection end |