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.9.4 lib/appydave/tools/youtube_manager/reports/video_content_report.rb