Class: RepoParser::Fetcher
- Inherits:
-
Object
- Object
- RepoParser::Fetcher
- Defined in:
- lib/repo_parser.rb
Overview
Fetcher fetches an api response
Class Method Summary collapse
Class Method Details
.call ⇒ Object
46 47 48 |
# File 'lib/repo_parser.rb', line 46 def self.call HTTParty.get('https://api.github.com/repositories').parsed_response end |