Sha256: d4d4f47bab5f1bb8fc63eff60ca6649965b65428b369d75e156be89b4853cdc9

Contents?: true

Size: 383 Bytes

Versions: 38

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/letters"

module Renalware
  module Letters
    class Letterhead < ApplicationRecord
      validates :name, presence: true
      validates :unit_info, presence: true
      validates :trust_name, presence: true
      validates :trust_caption, presence: true

      scope :ordered, ->{ order(name: :asc) }
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
renalware-core-2.0.77 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.76 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.75 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.74 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.73 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.72 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.71 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.70 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.69 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.68 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.67 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.64 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.63 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.62 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.61 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.60 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.58 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.57 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.56 app/models/renalware/letters/letterhead.rb
renalware-core-2.0.55 app/models/renalware/letters/letterhead.rb