Sha256: fd37f0488c3467ddf54533c4d2fdefd148606d523b7a11b88393fd186bd2c611

Contents?: true

Size: 371 Bytes

Versions: 21

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/hd"

module Renalware
  module HD
    class Dialysate < ApplicationRecord
      acts_as_paranoid
      validates :name, presence: true, uniqueness: true
      validates :sodium_content, presence: true
      validates :sodium_content_uom, presence: true

      def to_s
        name
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
renalware-core-2.0.32 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.31 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.30 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.28 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.27 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.26 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.25 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.24 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.23 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.22 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.21 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.20 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.18 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.17 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.16 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.15 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.14 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.13 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.12 app/models/renalware/hd/dialysate.rb
renalware-core-2.0.11 app/models/renalware/hd/dialysate.rb