Class: Obj
- Inherits:
-
Scrivito::BasicObj
- Object
- Scrivito::BasicObj
- Obj
- Defined in:
- app/models/obj.rb,
lib/generators/scrivito/install/templates/app/models/obj.rb
Overview
The class Obj
should be overridden by the application (see example). The SDK provides methods for Obj through it’s abstract base class, Scrivito::BasicObj. The Scrivito SDK provides this empty implementation for Obj which will only be used in case the app does not define the class Obj itself.
Method Summary
Methods included from Scrivito::Associations::ClassMethods
#belongs_to, #belongs_to_many, #has_many
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Scrivito::AttributeContent