Method: Dis::Model::ClassMethods#dis_type=

Defined in:
lib/dis/model/class_methods.rb

#dis_type=(new_type) ⇒ Object

Sets the storage type name.

Take care not to set the same name for multiple models, this will cause data loss when a record is destroyed.



35
36
37
# File 'lib/dis/model/class_methods.rb', line 35

def dis_type=(new_type)
  @dis_type = new_type
end