Class: Widget
- Inherits:
-
Scrivito::BasicWidget
- Object
- Scrivito::BasicWidget
- Widget
- Defined in:
- lib/widget.rb,
lib/generators/scrivito/install/templates/app/models/widget.rb
Overview
The class Widget
should be overridden by the application (see example). The SDK provides methods for Widget
through it’s abstract base class, Scrivito::BasicWidget. The SDK provides this empty implementation for Widget
which will only be used in case the app does not define the class Widget
itself.
Constructor Details
This class inherits a constructor from Scrivito::BasicWidget
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Scrivito::AttributeContent