Class: Yt::Models::Caption

Inherits:
Resource
  • Object
show all
Defined in:
lib/yt/models/caption.rb

Overview

Provides methods to interact with YouTube video captions.

Constant Summary

Constants inherited from Resource

Resource::CHANNEL_PATTERNS, Resource::PLAYLIST_PATTERNS, Resource::VIDEO_PATTERNS

Instance Attribute Summary

Attributes inherited from Resource

#privacy_status

Instance Method Summary collapse

Methods inherited from Resource

#private?, #public?, #unlisted?

Instance Method Details

#idString

Returns the ID used to identify the caption.

Returns:

  • (String)

    the ID used to identify the caption.



10
# File 'lib/yt/models/caption.rb', line 10

has_attribute :id