lib/yt/video_audit/info_card.rb in yt-audit-0.2.1 vs lib/yt/video_audit/info_card.rb in yt-audit-0.2.2
- old
+ new
@@ -14,10 +14,10 @@
private
def valid?(video)
Yt::Annotations.for(video.id).any? do |annotation|
- annotation.is_a? Yt::Annotations::Card
+ annotation.instance_of? Yt::Annotations::Card
end
end
end
end
end