GitHub PullRequestReviewCommentEvent at 2014-04-13 17:41:37
Repository: alpaca
Actor: pksunkara
Payload: {"comment":{"url":"https://api.github.com/repos/pksunkara/alpaca/pulls/comments/11566101","id":11566101,"diff_hunk":"@@ -7,8 +7,8 @@ module {{call .Fnc.camelize .Pkg.Name}}\n \n   class Client\n \n-    def initialize(auth = {}, options = {})\n-      @http_client = {{call .Fnc.camelize .Pkg.Name}}::HttpClient::HttpClient.new auth, options\n+    def initialize({{if .Api.base_as_arg}}base_url, {{end}}auth = {}, options = {})\n+      @http_client = {{call .Fnc.camelize .Pkg.Name}}::HttpClient::HttpClient.new {{if .Api.base_as_arg}}base_url, {{end}}auth, options","path":"templates/ruby/lib/client.rb","position":7,"original_position":7,"commit_id":"cdf7e1abe202b08d4bf5092504a481b824fc2c6c","original_commit_id":"95ab41968c652bfa40a0d4329831b34fb5df987f","user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?","gravatar_id":"39863b6141d1be3ec211dca4b061cd5e","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"body":"Use brackets here,\r\n\r\n```\r\n      @http_client = {{call .Fnc.camelize .Pkg.Name}}::HttpClient::HttpClient.new({{if .Api.base_as_arg}}base_url, {{end}}auth, options)\r\n```","created_at":"2014-04-13T17:41:37Z","updated_at":"2014-04-13T17:41:37Z","html_url":"https://github.com/pksunkara/alpaca/pull/30#discussion_r11566101","pull_request_url":"https://api.github.com/repos/pksunkara/alpaca/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/pksunkara/alpaca/pulls/comments/11566101"},"html":{"href":"https://github.com/pksunkara/alpaca/pull/30#discussion_r11566101"},"pull_request":{"href":"https://api.github.com/repos/pksunkara/alpaca/pulls/30"}}}}