Class: RepoParser::Fetcher

Inherits:
Object
  • Object
show all
Defined in:
lib/repo_parser.rb

Overview

Fetcher fetches an api response

Class Method Summary collapse

Class Method Details

.callObject



46
47
48
# File 'lib/repo_parser.rb', line 46

def self.call
  HTTParty.get('https://api.github.com/repositories').parsed_response
end