lib/yt/annotations/for.rb in yt-annotations-1.4.2 vs lib/yt/annotations/for.rb in yt-annotations-2.0.0

- old
+ new

@@ -1,15 +1,15 @@ require 'yt/annotations/branding' require 'yt/annotations/card' require 'yt/annotations/end_screen' -require 'yt/annotations/featured' require 'yt/annotations/label' require 'yt/annotations/note' require 'yt/annotations/speech' require 'yt/annotations/spotlight' require 'yt/annotations/title' require 'yt/annotations/pause' +require 'yt/annotations/promotion' # An object-oriented Ruby client for YouTube. # @see http://www.rubydoc.info/gems/yt/ module Yt module Annotations @@ -62,11 +62,11 @@ when 'label' then Annotations::Label when 'popup' then Annotations::Note when 'title' then Annotations::Title else case data['type'] when 'card' then Annotations::Card - when 'promotion' then Annotations::Featured when 'pause' then Annotations::Pause + when 'promotion' then Annotations::Promotion end end end def exclude_drawers(annotations)