Sha256: 41591df613e8bc3cb727a0b240309f2fb6ac4f58b6eaaa31c8bd4f2794587d52

Contents?: true

Size: 181 Bytes

Versions: 5

Compression:

Stored size: 181 Bytes

Contents

module Mks
  module Rate
    class UnitOfCharge < ApplicationRecord
      validates :name, :unit_variables, presence: true
      validates :name, uniqueness: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mks_rate-1.0.5 app/models/mks/rate/unit_of_charge.rb
mks_rate-1.0.4 app/models/mks/rate/unit_of_charge.rb
mks_rate-1.0.3 app/models/mks/rate/unit_of_charge.rb
mks_rate-1.0.2 app/models/mks/rate/unit_of_charge.rb
mks_rate-1.0.1 app/models/mks/rate/unit_of_charge.rb