Sha256: f868626b7e5471b5df72b74751cd8bc1657201a8717b1c79ebd9d8006001d1f8

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

Stored size: 309 Bytes

Contents

module NewspaperWorks
  class DerivativeAttachment < ApplicationRecord
    # We can store nil/optional fileset as interim value before fileset
    #   construction, but we require at minimum, path, destination_name
    validates :path, presence: true
    validates :destination_name, presence: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 app/models/newspaper_works/derivative_attachment.rb
newspaper_works-1.0.0 app/models/newspaper_works/derivative_attachment.rb
newspaper_works-0.1.0 app/models/newspaper_works/derivative_attachment.rb