Class: Canvas::Validator::SchemaAttribute::Page
- Defined in:
- lib/canvas/validators/schema_attributes/page.rb
Overview
:documented: Attribute validations specific to page-type variables.
Constant Summary collapse
- ALLOWED_DEFAULT_VALUES =
%w[ random ].freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Canvas::Validator::SchemaAttribute::Base
Instance Method Details
#validate ⇒ Object
11 12 13 14 |
# File 'lib/canvas/validators/schema_attributes/page.rb', line 11 def validate super && ensure_default_values_are_valid end |