Class: Veye::Github::List
- Inherits:
-
BaseExecutor
- Object
- BaseExecutor
- Veye::Github::List
- Defined in:
- lib/veye/github/list.rb
Overview
List class includes methods to see importable Github repositories
Class Method Summary collapse
Methods inherited from BaseExecutor
catch_request_error, filter_dependencies, get_formatter, show_bulk_dependencies, show_dependencies, show_message, show_results, valid_response?
Methods included from FormatHelpers
#format_exists?, #formats_attached?, #supported_format?
Class Method Details
.get_list(api_key, options) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/veye/github/list.rb', line 15 def self.get_list(api_key, ) results = Veye::API::Github.get_list( api_key, [:page], [:lang], [:private], [:org], [:org_type] ) if valid_response?(results, 'No repositories.') paging = results.data['paging'] show_results(@output_formats, results.data, , paging) end end |