Sha256: fd3e427016bf45c3a88d1e62253c686bcf76110dc522bd79025d029435afae5b

Contents?: true

Size: 706 Bytes

Versions: 21

Compression:

Stored size: 706 Bytes

Contents

# frozen_string_literal: true

module Appydave
  module Tools
    module YouTubeManager
      module Reports
        # Report on video content
        class VideoContentReport
          include KLog::Logging

          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
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
appydave-tools-0.13.0 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.12.0 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.11 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.10 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.9 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.8 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.7 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.6 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.5 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.4 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.3 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.2 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.1 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.11.0 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.10.4 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.10.3 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.10.2 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.10.1 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.10.0 lib/appydave/tools/youtube_manager/reports/video_content_report.rb
appydave-tools-0.9.5 lib/appydave/tools/youtube_manager/reports/video_content_report.rb