Module: Yt::Associations::Annotations

Defined in:
lib/yt/associations/annotations.rb

Overview

Provides the ‘has_many :annotations` method to YouTube resources, which allows to access to content annotation set-specific methods. YouTube resources with annotations are: videos.

Instance Method Summary collapse

Instance Method Details

#annotationsObject



9
10
11
# File 'lib/yt/associations/annotations.rb', line 9

def annotations
  @annotations ||= Collections::Annotations.of self
end