lib/msip/concerns/models/tdocumento.rb in msip-2.2.0.alfa3 vs lib/msip/concerns/models/tdocumento.rb in msip-2.2.0.beta1
- old
+ new
@@ -1,19 +1,18 @@
+# frozen_string_literal: true
module Msip
module Concerns
module Models
module Tdocumento
extend ActiveSupport::Concern
include Msip::Basica
included do
- self.table_name = 'msip_tdocumento'
+ self.table_name = "msip_tdocumento"
validates :sigla, length: { maximum: 100 }
validates :formatoregex, length: { maximum: 500 }
end
-
end
end
end
end
-