Class: PrLog::FetchCommand
- Defined in:
- lib/pr_log/fetch_command.rb
Overview
Top level workflow of the fetch command
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#perform ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/pr_log/fetch_command.rb', line 6 def perform emit(:fetching, project.milestone, project.github_repository_name) pull_requests = new_pull_requests emit(:inserting, pull_requests, config.changelog_file) insert_pull_requests(pull_requests) end |