Sha256: 7a46e2565b49370357ae392f400c488dcea342ee6fa901f6d815d09102162f3d

Contents?: true

Size: 213 Bytes

Versions: 9

Compression:

Stored size: 213 Bytes

Contents

module Logistics
  module Core
    class ExtendedLookup < ApplicationRecord
      validates :code, presence: true, uniqueness: {scope: [:code, :type]}
      validates :name, :type, presence: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 app/models/logistics/core/extended_lookup.rb
logistics_core-21.11.1 app/models/logistics/core/extended_lookup.rb
logistics_core-21.08.1 app/models/logistics/core/extended_lookup.rb
logistics_core-21.03.1 app/models/logistics/core/extended_lookup.rb
logistics_core-20.10.3 app/models/logistics/core/extended_lookup.rb
logistics_core-20.10.2 app/models/logistics/core/extended_lookup.rb
logistics_core-20.10.1 app/models/logistics/core/extended_lookup.rb
logistics_core-20.9.1 app/models/logistics/core/extended_lookup.rb
logistics_core-20.8.1 app/models/logistics/core/extended_lookup.rb