Exception: DatoDast::Errors::InvalidItemsConfiguration
- Inherits:
-
StandardError
- Object
- StandardError
- DatoDast::Errors::InvalidItemsConfiguration
- Defined in:
- lib/dato_dast/errors/invalid_items_configuration.rb
Constant Summary collapse
- MESSAGE =
<<~MSG.strip An item configuration requires exactly one of the following keys: - "node" - "render_value" - "structure" The following configurations are invalid: MSG
Instance Method Summary collapse
-
#initialize(keys) ⇒ InvalidItemsConfiguration
constructor
A new instance of InvalidItemsConfiguration.
Constructor Details
#initialize(keys) ⇒ InvalidItemsConfiguration
13 14 15 |
# File 'lib/dato_dast/errors/invalid_items_configuration.rb', line 13 def initialize(keys) super(MESSAGE + " " + keys.join(", ")) end |