Class: ArticleHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/zentool/article_helper.rb

Overview

Article Helper class, called from zentool.rb to do all the work with articles

Instance Method Summary collapse

Constructor Details

#initialize(username, password, domain) ⇒ ArticleHelper

Returns a new instance of ArticleHelper.



4
5
6
# File 'lib/zentool/article_helper.rb', line 4

def initialize(username, password, domain)
  @username, @password, @domain = username, password, domain
end

Instance Method Details

#runObject



8
9
10
11
12
13
14
# File 'lib/zentool/article_helper.rb', line 8

def run
  fetch_content
  generate_summary
  generate_local_directory
  generate_problem_articles
  create_graph
end