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.9 app/models/renalware/hd/dialysate.rb