Sha256: c04941fa8fb5c7b12009f966dfbca9ff007519012f0c0ae0390bba691551c2ab
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
require 'yt/video_audit/base' module Yt module VideoAudit # Count how many subject videos have a branding annotation. class InvideoProgramming < Base def title 'In-Video Programming' end def description 'The number of videos with in-video programming' end private def valid?(video) Yt::Annotations.for(video.id).any? do |annotation| annotation.instance_of? Yt::Annotations::Featured end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yt-audit-0.5.5 | lib/yt/video_audit/invideo_programming.rb |