{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/autorest/pulls/comments/80603885","pull_request_review_id":1651388,"id":80603885,"diff_hunk":"@@ -21,6 +26,39 @@ class ServiceClient\n     def initialize(credentials, options = nil)\n       @credentials = credentials\n     end\n+\n+    # @param request_url [String] the base url for api endpoint\n+    # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete\n+    # @param path [String] the path, relative to {api_endpoint}\n+    # @param options [Hash{String=>String}] specifying any request options like :body","path":"src/client/Ruby/ms-rest/lib/ms_rest/service_client.rb","position":20,"original_position":20,"commit_id":"18fa3ee78d3dc2a55b2ded0d95fb003b4df8779c","original_commit_id":"18fa3ee78d3dc2a55b2ded0d95fb003b4df8779c","user":{"login":"veronicagg","id":17714137,"avatar_url":"https://avatars.githubusercontent.com/u/17714137?v=3","gravatar_id":"","url":"https://api.github.com/users/veronicagg","html_url":"https://github.com/veronicagg","followers_url":"https://api.github.com/users/veronicagg/followers","following_url":"https://api.github.com/users/veronicagg/following{/other_user}","gists_url":"https://api.github.com/users/veronicagg/gists{/gist_id}","starred_url":"https://api.github.com/users/veronicagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronicagg/subscriptions","organizations_url":"https://api.github.com/users/veronicagg/orgs","repos_url":"https://api.github.com/users/veronicagg/repos","events_url":"https://api.github.com/users/veronicagg/events{/privacy}","received_events_url":"https://api.github.com/users/veronicagg/received_events","type":"User","site_admin":false},"body":"yes, I forgot to do this, I'll add an example.","created_at":"2016-09-27T00:49:20Z","updated_at":"2016-09-27T00:49:21Z","html_url":"https://github.com/Azure/autorest/pull/1447#discussion_r80603885","pull_request_url":"https://api.github.com/repos/Azure/autorest/pulls/1447","_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments/80603885"},"html":{"href":"https://github.com/Azure/autorest/pull/1447#discussion_r80603885"},"pull_request":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1447"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/autorest/pulls/1447","id":86438010,"html_url":"https://github.com/Azure/autorest/pull/1447","diff_url":"https://github.com/Azure/autorest/pull/1447.diff","patch_url":"https://github.com/Azure/autorest/pull/1447.patch","issue_url":"https://api.github.com/repos/Azure/autorest/issues/1447","number":1447,"state":"open","locked":false,"title":"[Ruby - In Review] Implementing generic request method","user":{"login":"veronicagg","id":17714137,"avatar_url":"https://avatars.githubusercontent.com/u/17714137?v=3","gravatar_id":"","url":"https://api.github.com/users/veronicagg","html_url":"https://github.com/veronicagg","followers_url":"https://api.github.com/users/veronicagg/followers","following_url":"https://api.github.com/users/veronicagg/following{/other_user}","gists_url":"https://api.github.com/users/veronicagg/gists{/gist_id}","starred_url":"https://api.github.com/users/veronicagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronicagg/subscriptions","organizations_url":"https://api.github.com/users/veronicagg/orgs","repos_url":"https://api.github.com/users/veronicagg/repos","events_url":"https://api.github.com/users/veronicagg/events{/privacy}","received_events_url":"https://api.github.com/users/veronicagg/received_events","type":"User","site_admin":false},"body":"Implementing generic request methods for clients and consuming them in generated methods.","created_at":"2016-09-23T00:39:04Z","updated_at":"2016-09-27T00:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32df326cb4237cb045b690b652c25707f600ee91","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/autorest/pulls/1447/commits","review_comments_url":"https://api.github.com/repos/Azure/autorest/pulls/1447/comments","review_comment_url":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/1447/comments","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/18fa3ee78d3dc2a55b2ded0d95fb003b4df8779c","head":{"label":"veronicagg:generic-request","ref":"generic-request","sha":"18fa3ee78d3dc2a55b2ded0d95fb003b4df8779c","user":{"login":"veronicagg","id":17714137,"avatar_url":"https://avatars.githubusercontent.com/u/17714137?v=3","gravatar_id":"","url":"https://api.github.com/users/veronicagg","html_url":"https://github.com/veronicagg","followers_url":"https://api.github.com/users/veronicagg/followers","following_url":"https://api.github.com/users/veronicagg/following{/other_user}","gists_url":"https://api.github.com/users/veronicagg/gists{/gist_id}","starred_url":"https://api.github.com/users/veronicagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronicagg/subscriptions","organizations_url":"https://api.github.com/users/veronicagg/orgs","repos_url":"https://api.github.com/users/veronicagg/repos","events_url":"https://api.github.com/users/veronicagg/events{/privacy}","received_events_url":"https://api.github.com/users/veronicagg/received_events","type":"User","site_admin":false},"repo":{"id":56541703,"name":"autorest","full_name":"veronicagg/autorest","owner":{"login":"veronicagg","id":17714137,"avatar_url":"https://avatars.githubusercontent.com/u/17714137?v=3","gravatar_id":"","url":"https://api.github.com/users/veronicagg","html_url":"https://github.com/veronicagg","followers_url":"https://api.github.com/users/veronicagg/followers","following_url":"https://api.github.com/users/veronicagg/following{/other_user}","gists_url":"https://api.github.com/users/veronicagg/gists{/gist_id}","starred_url":"https://api.github.com/users/veronicagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronicagg/subscriptions","organizations_url":"https://api.github.com/users/veronicagg/orgs","repos_url":"https://api.github.com/users/veronicagg/repos","events_url":"https://api.github.com/users/veronicagg/events{/privacy}","received_events_url":"https://api.github.com/users/veronicagg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veronicagg/autorest","description":"","fork":true,"url":"https://api.github.com/repos/veronicagg/autorest","forks_url":"https://api.github.com/repos/veronicagg/autorest/forks","keys_url":"https://api.github.com/repos/veronicagg/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veronicagg/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veronicagg/autorest/teams","hooks_url":"https://api.github.com/repos/veronicagg/autorest/hooks","issue_events_url":"https://api.github.com/repos/veronicagg/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/veronicagg/autorest/events","assignees_url":"https://api.github.com/repos/veronicagg/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/veronicagg/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/veronicagg/autorest/tags","blobs_url":"https://api.github.com/repos/veronicagg/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veronicagg/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veronicagg/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/veronicagg/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veronicagg/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/veronicagg/autorest/languages","stargazers_url":"https://api.github.com/repos/veronicagg/autorest/stargazers","contributors_url":"https://api.github.com/repos/veronicagg/autorest/contributors","subscribers_url":"https://api.github.com/repos/veronicagg/autorest/subscribers","subscription_url":"https://api.github.com/repos/veronicagg/autorest/subscription","commits_url":"https://api.github.com/repos/veronicagg/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/veronicagg/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/veronicagg/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/veronicagg/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/veronicagg/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/veronicagg/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veronicagg/autorest/merges","archive_url":"https://api.github.com/repos/veronicagg/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veronicagg/autorest/downloads","issues_url":"https://api.github.com/repos/veronicagg/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/veronicagg/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/veronicagg/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/veronicagg/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veronicagg/autorest/labels{/name}","releases_url":"https://api.github.com/repos/veronicagg/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/veronicagg/autorest/deployments","created_at":"2016-04-18T20:59:22Z","updated_at":"2016-04-18T20:59:28Z","pushed_at":"2016-09-23T19:06:32Z","git_url":"git://github.com/veronicagg/autorest.git","ssh_url":"git@github.com:veronicagg/autorest.git","clone_url":"https://github.com/veronicagg/autorest.git","svn_url":"https://github.com/veronicagg/autorest","homepage":null,"size":54344,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"32f552ca09c161bd29090bcaf9ae33745ca1ee4c","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":31089461,"name":"autorest","full_name":"Azure/autorest","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/autorest","description":"Swagger (OpenAPI) Specification code generator featuring C# and Razor templates. Supports C#, Java, Node.js, TypeScript, Python and Ruby.","fork":false,"url":"https://api.github.com/repos/Azure/autorest","forks_url":"https://api.github.com/repos/Azure/autorest/forks","keys_url":"https://api.github.com/repos/Azure/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/autorest/teams","hooks_url":"https://api.github.com/repos/Azure/autorest/hooks","issue_events_url":"https://api.github.com/repos/Azure/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/autorest/events","assignees_url":"https://api.github.com/repos/Azure/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/autorest/tags","blobs_url":"https://api.github.com/repos/Azure/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/autorest/languages","stargazers_url":"https://api.github.com/repos/Azure/autorest/stargazers","contributors_url":"https://api.github.com/repos/Azure/autorest/contributors","subscribers_url":"https://api.github.com/repos/Azure/autorest/subscribers","subscription_url":"https://api.github.com/repos/Azure/autorest/subscription","commits_url":"https://api.github.com/repos/Azure/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/autorest/merges","archive_url":"https://api.github.com/repos/Azure/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/autorest/downloads","issues_url":"https://api.github.com/repos/Azure/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/autorest/labels{/name}","releases_url":"https://api.github.com/repos/Azure/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/autorest/deployments","created_at":"2015-02-20T23:02:54Z","updated_at":"2016-09-26T20:39:44Z","pushed_at":"2016-09-26T22:19:10Z","git_url":"git://github.com/Azure/autorest.git","ssh_url":"git@github.com:Azure/autorest.git","clone_url":"https://github.com/Azure/autorest.git","svn_url":"https://github.com/Azure/autorest","homepage":"","size":58839,"stargazers_count":496,"watchers_count":496,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":133,"forks":173,"open_issues":133,"watchers":496,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1447"},"html":{"href":"https://github.com/Azure/autorest/pull/1447"},"issue":{"href":"https://api.github.com/repos/Azure/autorest/issues/1447"},"comments":{"href":"https://api.github.com/repos/Azure/autorest/issues/1447/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1447/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1447/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/autorest/statuses/18fa3ee78d3dc2a55b2ded0d95fb003b4df8779c"}}}}
{"actor":{"display_login":"veronicagg"}}