GitHub PullRequestReviewCommentEvent at 2014-05-19 15:02:37
Repository: rrod
Actor: adamhunter
Payload: {"comment":{"url":"https://api.github.com/repos/rrods/rrod/pulls/comments/12798247","id":12798247,"diff_hunk":"@@ -21,7 +21,9 @@ def initialize(model, name, type, options={})\n         self.name    = name.to_sym\n         self.type    = type\n         self.default = options.delete(:default)\n+        self.index   = options.delete(:index)\n         self.options = options\n+        add_index if self.index","path":"lib/rrod/model/attribute.rb","position":15,"original_position":15,"commit_id":"77018348353a7e68fa96050dee8a3431c0282de3","original_commit_id":"77018348353a7e68fa96050dee8a3431c0282de3","user":{"login":"adamhunter","id":65676,"avatar_url":"https://avatars.githubusercontent.com/u/65676?","gravatar_id":"6812d3378c2068e4de8e97afdddee33f","url":"https://api.github.com/users/adamhunter","html_url":"https://github.com/adamhunter","followers_url":"https://api.github.com/users/adamhunter/followers","following_url":"https://api.github.com/users/adamhunter/following{/other_user}","gists_url":"https://api.github.com/users/adamhunter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhunter/subscriptions","organizations_url":"https://api.github.com/users/adamhunter/orgs","repos_url":"https://api.github.com/users/adamhunter/repos","events_url":"https://api.github.com/users/adamhunter/events{/privacy}","received_events_url":"https://api.github.com/users/adamhunter/received_events","type":"User","site_admin":false},"body":"`add_index` can be removed as `index=` will handle setting","created_at":"2014-05-19T15:02:37Z","updated_at":"2014-05-19T15:02:37Z","html_url":"https://github.com/rrods/rrod/pull/7#discussion_r12798247","pull_request_url":"https://api.github.com/repos/rrods/rrod/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/rrods/rrod/pulls/comments/12798247"},"html":{"href":"https://github.com/rrods/rrod/pull/7#discussion_r12798247"},"pull_request":{"href":"https://api.github.com/repos/rrods/rrod/pulls/7"}}}}