Sha256: 70271d8439a1f9475378a9f167d53ace722cfca37f36416538a5dbdae2e583dd

Contents?: true

Size: 156 Bytes

Versions: 10

Compression:

Stored size: 156 Bytes

Contents

require 'actv/validators/asset_validator'
module ACTV
  class VideoValidator < AssetValidator
    def valid?
      category_is?('videos')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
actv-2.10.9 lib/actv/validators/video_validator.rb
actv-2.10.8 lib/actv/validators/video_validator.rb
actv-2.10.7 lib/actv/validators/video_validator.rb
actv-2.10.6 lib/actv/validators/video_validator.rb
actv-2.10.5 lib/actv/validators/video_validator.rb
actv-2.10.4 lib/actv/validators/video_validator.rb
actv-2.10.3 lib/actv/validators/video_validator.rb
actv-2.10.2 lib/actv/validators/video_validator.rb
actv-2.10.1 lib/actv/validators/video_validator.rb
actv-2.10.0 lib/actv/validators/video_validator.rb