Sha256: 35c7148825ab6684feaf18f6213853f6f3ca21b122522acc72b52f3f564e0e0e
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
require 'yt/video_audit/base' module Yt module VideoAudit # Count how many subject videos have any end screen. class EndScreen < Base def title 'End Screens' end def description 'The number of videos with at least one end screen element' end private def valid?(video) Yt::Annotations.for(video.id).any? do |annotation| annotation.instance_of? Yt::Annotations::EndScreen end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems