Sha256: 4245cd19b8ab234a8eb0baa95ae0b91ce2af2c6e84dcca6e9efad1b8a102d219

Contents?: true

Size: 177 Bytes

Versions: 21

Compression:

Stored size: 177 Bytes

Contents

module Sis
  module Core
    class Lookup < ApplicationRecord
      validates :name, :type, presence: true
      validates :name, uniqueness: { scope: :type }
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sis_core-1.0.0 app/models/sis/core/lookup.rb