Sha256: 279f859ac87d503936677c923938048b86353fc733763a15edd5ef265fac2cdb

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

module Sis
  module Core
    class ApplicationDocument < ApplicationRecord
      mount_base64_uploader :document, ApplicationDocumentUploader

      belongs_to :application
      belongs_to :document_requirement

      delegate(:name, to: :document_requirement, prefix: true, allow_nil: false)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sis_core-1.0.16 app/models/sis/core/application_document.rb
sis_core-1.0.15 app/models/sis/core/application_document.rb
sis_core-1.0.14 app/models/sis/core/application_document.rb
sis_core-1.0.13 app/models/sis/core/application_document.rb
sis_core-1.0.12 app/models/sis/core/application_document.rb
sis_core-1.0.11 app/models/sis/core/application_document.rb
sis_core-1.0.10 app/models/sis/core/application_document.rb
sis_core-1.0.9 app/models/sis/core/application_document.rb
sis_core-1.0.8 app/models/sis/core/application_document.rb
sis_core-1.0.7 app/models/sis/core/application_document.rb