Class: Anony::ModelConfig::UndefinedStrategy Private

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (Boolean)


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.

Raises:

  • (ArgumentError)


17
18
19
# File 'lib/anony/model_config.rb', line 17

def validate!
  raise ArgumentError, "Must specify either :destroy or :overwrite strategy"
end