Class: YoutubeParser::Channels::AboutSection

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/youtube_parser/channels/about_section.rb

Instance Attribute Summary

Attributes inherited from BaseParser

#options

Instance Method Summary collapse

Methods inherited from BaseParser

#initialize, options, #resource

Constructor Details

This class inherits a constructor from YoutubeParser::BaseParser

Instance Method Details

#infoObject



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/youtube_parser/channels/about_section.rb', line 8

def info
  {
    title: title,
    email: email,
    description: description,
    country: country,
    tags: tags,
    views_count: views_count,
    followers_count: followers_count,
    videos_count: videos_count,
    avatar_url: avatar_url
  }
end