Class: Anony::ModelConfig::UndefinedStrategy Private
- Inherits:
-
Object
- Object
- Anony::ModelConfig::UndefinedStrategy
- Defined in:
- lib/anony/model_config.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #valid? ⇒ Boolean private
- #validate! ⇒ Object private
Instance Method Details
#valid? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/anony/model_config.rb', line 13 def valid? false end |
#validate! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/anony/model_config.rb', line 17 def validate! raise ArgumentError, "Must specify either :destroy or :overwrite strategy" end |