Class: Appydave::Tools::YouTubeManager::Reports::VideoContentReport

Inherits:
Object
  • Object
show all
Includes:
KLog::Logging
Defined in:
lib/appydave/tools/youtube_manager/reports/video_content_report.rb

Overview

Report on video content

Instance Method Summary collapse

Instance Method Details



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/appydave/tools/youtube_manager/reports/video_content_report.rb', line 11

def print(data)
  # log.heading 'Video Details Report'
  log.subheading data.title
  log.kv 'Published At', data.published_at
  log.kv 'View Count', data.view_count
  log.kv 'Like Count', data.like_count
  log.kv 'Dislike Count', data.dislike_count
  log.kv 'Tags', data.tags.join(', ')
  log.line
  puts data.description
  log.line
end