diff --git a/app/api_clients/github_client.rb b/app/api_clients/github_client.rb index 4c77fa3e12c643c48faf1ba13cae71ab8b852e10..2b4c569d5fea6a7f7db1ebf83c532877527ece95 100644 --- a/app/api_clients/github_client.rb +++ b/app/api_clients/github_client.rb @@ -5,7 +5,7 @@ require 'json' # Some dummy remote URL getter just to show WebMock in action in specs class GithubClient - def full_name(repo_name) + def description(repo_name) uri = URI.parse('https://api.github.com/orgs/octokit/repos') response = Net::HTTP.get_response(uri) diff --git a/app/main.rb b/app/main.rb index cf63a977f564efb7c9443a34b57d0095ed230585..19dd159fdca718e01674b465bbc5e6687690c51a 100644 --- a/app/main.rb +++ b/app/main.rb @@ -10,7 +10,7 @@ class Main end def run - GithubClient.new.full_name(arg) + GithubClient.new.description(arg) end end