Sha256: 88bacf427de324d2837df64d14351b3651736bc8b1ab075d67b9b33274ef89fb

Contents?: true

Size: 201 Bytes

Versions: 5

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true
module AtomicCms
  class Video < Media
    validates_attachment :file, presence: true,
                                content_type: { content_type: /\Avideo/ }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
atomic_cms-0.4.0 app/models/atomic_cms/video.rb
atomic_cms-0.3.3 app/models/atomic_cms/video.rb
atomic_cms-0.3.2 app/models/atomic_cms/video.rb
atomic_cms-0.3.1 app/models/atomic_cms/video.rb
atomic_cms-0.3.0 app/models/atomic_cms/video.rb