Sha256: b803cf5d2f2613a52fef0a4f745ec48dc089bf767cc3f4becc358719b27ce3ab

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

module Msip
  module Concerns
    module Models
      module Tdocumento
        extend ActiveSupport::Concern

        include Msip::Basica
        included do
          self.table_name = 'msip_tdocumento'
          validates :sigla, length: { maximum: 100 }
          validates :formatoregex, length: { maximum: 500 }
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 lib/msip/concerns/models/tdocumento.rb
msip-2.2.0.alfa2 lib/msip/concerns/models/tdocumento.rb
msip-2.2a2 lib/msip/concerns/models/tdocumento.rb