module Servizio::Service::DefineColumnType::ClassMethods

Public Instance Methods

define_column_type(attribute, type) click to toggle source
# File lib/servizio/service/define_column_type.rb, line 23
def define_column_type(attribute, type)
  define_method(Servizio::Service::DefineColumnType.column_type_getter_name(attribute)) do
    type.to_sym
  end
end