Module: Yogo::Collection::Asset::ModelConfiguration
- Included in:
- Yogo::Collection::Asset
- Defined in:
- lib/yogo/collection/asset/model_configuration.rb
Instance Method Summary collapse
Instance Method Details
#after_model_generate(model) ⇒ Object
8 9 10 11 12 |
# File 'lib/yogo/collection/asset/model_configuration.rb', line 8 def after_model_generate(model) model = super model.extend(Asset::Model) model end |
#after_model_update(model) ⇒ Object
14 15 16 17 |
# File 'lib/yogo/collection/asset/model_configuration.rb', line 14 def after_model_update(model) model.extend(Asset::ModelProperties) super end |