Class: Yt::VideoAudit::BrandAnchoring

Inherits:
Base
  • Object
show all
Defined in:
lib/yt/video_audit/brand_anchoring.rb

Overview

Count how many subject videos include its brand name in the title.

Instance Method Summary collapse

Methods inherited from Base

#total_count, #valid_count

Constructor Details

#initialize(options = {}) ⇒ BrandAnchoring


7
8
9
10
# File 'lib/yt/video_audit/brand_anchoring.rb', line 7

def initialize(options = {})
  super
  @brand = options[:brand]
end

Instance Method Details

#descriptionObject


16
17
18
# File 'lib/yt/video_audit/brand_anchoring.rb', line 16

def description
  'The number of videos with the brand name in the title'
end

#titleObject


12
13
14
# File 'lib/yt/video_audit/brand_anchoring.rb', line 12

def title
  'Brand Anchoring'
end