Class: Vcsmap::Provider::GitHub
- Inherits:
-
Object
- Object
- Vcsmap::Provider::GitHub
- Defined in:
- lib/vcsmap/providers/github.rb
Instance Method Summary collapse
-
#initialize ⇒ GitHub
constructor
A new instance of GitHub.
- #search(plugin, total_pages) ⇒ Object
Constructor Details
#initialize ⇒ GitHub
Returns a new instance of GitHub.
4 5 6 |
# File 'lib/vcsmap/providers/github.rb', line 4 def initialize @cookie = end |
Instance Method Details
#search(plugin, total_pages) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/vcsmap/providers/github.rb', line 8 def search(plugin, total_pages) result_urls = [] @query = plugin.search_string (1..total_pages).each do |page| result_urls += get_results_from_page(page) end result_urls end |