Sha256: 0474f1b55cb73cad9366ad94dc974326928187aedd86f5ba54ab749dbaabfada

Contents?: true

Size: 179 Bytes

Versions: 24

Compression:

Stored size: 179 Bytes

Contents

module Ecom
  module Core
    class CostType < ApplicationRecord
      validates :name, presence: true, uniqueness: true
      validates :fields, presence: true
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ecom_core-1.2.31 app/models/ecom/core/cost_type.rb
ecom_core-1.2.30 app/models/ecom/core/cost_type.rb
ecom_core-1.2.29 app/models/ecom/core/cost_type.rb
ecom_core-1.2.28 app/models/ecom/core/cost_type.rb