Class: Gh::Trending::Repositories
- Inherits:
-
Object
- Object
- Gh::Trending::Repositories
- Defined in:
- lib/gh_trending/repositories.rb
Overview
Returns an array of representation of the trending repositories in github.
Class Method Summary collapse
Class Method Details
.get(**args) ⇒ Object
11 12 13 14 15 |
# File 'lib/gh_trending/repositories.rb', line 11 def self.get(**args) parser = Gh::Trending::Parsers::ReposParser.new parse_args = Gh::Trending::Parsers::ParserArguments.new(**args) parser.parse(parse_args).to_a.compact end |