Class: Canvas::Validator::SchemaAttribute::ExperienceSlot
- Defined in:
- lib/canvas/validators/schema_attributes/experience_slot.rb
Overview
:documented: Attribute validations specific to the experience_slot variables.
Constant Summary collapse
- ALLOWED_DEFAULT_VALUES =
%w[next_upcoming].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 |
# File 'lib/canvas/validators/schema_attributes/experience_slot.rb', line 11 def validate super && ensure_default_values_are_valid end |