Sha256: 596b6699fa5bd7c5370909bbf814d071615d0ab8fb1b7c02ce6deca550f64f62

Contents?: true

Size: 685 Bytes

Versions: 136

Compression:

Stored size: 685 Bytes

Contents

#
# 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.
#
# @api public
#
# @example
#   # in app/models/widget.rb
#   class Widget < Scrivito::BasicWidget
#     # Put custom extensions that apply to all +Widget+s here...
#   end
#
#   # in app/models/text_widget.rb
#   class TextWidget < ::Widget
#     # Put custom extensions that only apply to +TextWidget+s here...
#   end
#
class Widget < Scrivito::BasicWidget
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
scrivito_sdk-1.18.0 app/models/widget.rb
scrivito_sdk-1.18.0.rc1 app/models/widget.rb
scrivito_sdk-1.17.0 app/models/widget.rb
scrivito_sdk-1.17.0.rc3 app/models/widget.rb
scrivito_sdk-1.17.0.rc2 app/models/widget.rb
scrivito_sdk-1.17.0.rc1 app/models/widget.rb
scrivito_sdk-1.16.0 app/models/widget.rb
scrivito_sdk-1.16.0.rc2 app/models/widget.rb
scrivito_sdk-1.16.0.rc1 app/models/widget.rb
scrivito_sdk-1.15.0 app/models/widget.rb
scrivito_sdk-1.15.0.rc2 app/models/widget.rb
scrivito_sdk-1.15.0.rc1 app/models/widget.rb
scrivito_sdk-1.14.0 app/models/widget.rb
scrivito_sdk-1.14.0.rc3 app/models/widget.rb
scrivito_sdk-1.14.0.rc2 app/models/widget.rb
scrivito_sdk-1.14.0.rc1 app/models/widget.rb
scrivito_sdk-1.13.0 app/models/widget.rb
scrivito_sdk-1.13.0.rc2 app/models/widget.rb
scrivito_sdk-1.13.0.rc1 app/models/widget.rb
scrivito_sdk-1.12.0 app/models/widget.rb