GitHub PullRequestReviewCommentEvent at 2014-11-09 07:24:17
Repository: exchange_rates
Actor: inyigo
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/comments/20057163","id":20057163,"diff_hunk":"@@ -0,0 +1,14 @@\n+class Currency < ActiveRecord::Base\n+\n+  validates :code, :name, presence: :true\n+\n+\tvalidates_uniqueness_of :code, scope: :name,  message: \"Currency already exists\"","path":"app/models/currency.rb","position":5,"original_position":5,"commit_id":"ebce0db0fba3b6e816146ffc8e8d14151ef6e1a1","original_commit_id":"ebce0db0fba3b6e816146ffc8e8d14151ef6e1a1","user":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"body":"spacing","created_at":"2014-11-09T07:24:17Z","updated_at":"2014-11-09T07:24:17Z","html_url":"https://github.com/inyigo/exchange_rates/pull/1#discussion_r20057163","pull_request_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/comments/20057163"},"html":{"href":"https://github.com/inyigo/exchange_rates/pull/1#discussion_r20057163"},"pull_request":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1","id":24111332,"html_url":"https://github.com/inyigo/exchange_rates/pull/1","diff_url":"https://github.com/inyigo/exchange_rates/pull/1.diff","patch_url":"https://github.com/inyigo/exchange_rates/pull/1.patch","issue_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/1","number":1,"state":"open","locked":false,"title":"Currency","user":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-09T07:23:52Z","updated_at":"2014-11-09T07:24:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4aeebdf399a27d671fae4cdb0f804a34e6234e99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1/commits","review_comments_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1/comments","review_comment_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls/comments/{number}","comments_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/1/comments","statuses_url":"https://api.github.com/repos/inyigo/exchange_rates/statuses/ebce0db0fba3b6e816146ffc8e8d14151ef6e1a1","head":{"label":"inyigo:models","ref":"models","sha":"ebce0db0fba3b6e816146ffc8e8d14151ef6e1a1","user":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"repo":{"id":26388686,"name":"exchange_rates","full_name":"inyigo/exchange_rates","owner":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inyigo/exchange_rates","description":"","fork":false,"url":"https://api.github.com/repos/inyigo/exchange_rates","forks_url":"https://api.github.com/repos/inyigo/exchange_rates/forks","keys_url":"https://api.github.com/repos/inyigo/exchange_rates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inyigo/exchange_rates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inyigo/exchange_rates/teams","hooks_url":"https://api.github.com/repos/inyigo/exchange_rates/hooks","issue_events_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/events{/number}","events_url":"https://api.github.com/repos/inyigo/exchange_rates/events","assignees_url":"https://api.github.com/repos/inyigo/exchange_rates/assignees{/user}","branches_url":"https://api.github.com/repos/inyigo/exchange_rates/branches{/branch}","tags_url":"https://api.github.com/repos/inyigo/exchange_rates/tags","blobs_url":"https://api.github.com/repos/inyigo/exchange_rates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inyigo/exchange_rates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inyigo/exchange_rates/git/refs{/sha}","trees_url":"https://api.github.com/repos/inyigo/exchange_rates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inyigo/exchange_rates/statuses/{sha}","languages_url":"https://api.github.com/repos/inyigo/exchange_rates/languages","stargazers_url":"https://api.github.com/repos/inyigo/exchange_rates/stargazers","contributors_url":"https://api.github.com/repos/inyigo/exchange_rates/contributors","subscribers_url":"https://api.github.com/repos/inyigo/exchange_rates/subscribers","subscription_url":"https://api.github.com/repos/inyigo/exchange_rates/subscription","commits_url":"https://api.github.com/repos/inyigo/exchange_rates/commits{/sha}","git_commits_url":"https://api.github.com/repos/inyigo/exchange_rates/git/commits{/sha}","comments_url":"https://api.github.com/repos/inyigo/exchange_rates/comments{/number}","issue_comment_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/comments/{number}","contents_url":"https://api.github.com/repos/inyigo/exchange_rates/contents/{+path}","compare_url":"https://api.github.com/repos/inyigo/exchange_rates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inyigo/exchange_rates/merges","archive_url":"https://api.github.com/repos/inyigo/exchange_rates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inyigo/exchange_rates/downloads","issues_url":"https://api.github.com/repos/inyigo/exchange_rates/issues{/number}","pulls_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls{/number}","milestones_url":"https://api.github.com/repos/inyigo/exchange_rates/milestones{/number}","notifications_url":"https://api.github.com/repos/inyigo/exchange_rates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inyigo/exchange_rates/labels{/name}","releases_url":"https://api.github.com/repos/inyigo/exchange_rates/releases{/id}","created_at":"2014-11-09T07:22:01Z","updated_at":"2014-11-09T07:23:25Z","pushed_at":"2014-11-09T07:23:41Z","git_url":"git://github.com/inyigo/exchange_rates.git","ssh_url":"git@github.com:inyigo/exchange_rates.git","clone_url":"https://github.com/inyigo/exchange_rates.git","svn_url":"https://github.com/inyigo/exchange_rates","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"inyigo:master","ref":"master","sha":"5dc44cb39a437faf6409bbde9499bdebf1135843","user":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"repo":{"id":26388686,"name":"exchange_rates","full_name":"inyigo/exchange_rates","owner":{"login":"inyigo","id":405883,"avatar_url":"https://avatars.githubusercontent.com/u/405883?v=3","gravatar_id":"","url":"https://api.github.com/users/inyigo","html_url":"https://github.com/inyigo","followers_url":"https://api.github.com/users/inyigo/followers","following_url":"https://api.github.com/users/inyigo/following{/other_user}","gists_url":"https://api.github.com/users/inyigo/gists{/gist_id}","starred_url":"https://api.github.com/users/inyigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyigo/subscriptions","organizations_url":"https://api.github.com/users/inyigo/orgs","repos_url":"https://api.github.com/users/inyigo/repos","events_url":"https://api.github.com/users/inyigo/events{/privacy}","received_events_url":"https://api.github.com/users/inyigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inyigo/exchange_rates","description":"","fork":false,"url":"https://api.github.com/repos/inyigo/exchange_rates","forks_url":"https://api.github.com/repos/inyigo/exchange_rates/forks","keys_url":"https://api.github.com/repos/inyigo/exchange_rates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inyigo/exchange_rates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inyigo/exchange_rates/teams","hooks_url":"https://api.github.com/repos/inyigo/exchange_rates/hooks","issue_events_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/events{/number}","events_url":"https://api.github.com/repos/inyigo/exchange_rates/events","assignees_url":"https://api.github.com/repos/inyigo/exchange_rates/assignees{/user}","branches_url":"https://api.github.com/repos/inyigo/exchange_rates/branches{/branch}","tags_url":"https://api.github.com/repos/inyigo/exchange_rates/tags","blobs_url":"https://api.github.com/repos/inyigo/exchange_rates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inyigo/exchange_rates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inyigo/exchange_rates/git/refs{/sha}","trees_url":"https://api.github.com/repos/inyigo/exchange_rates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inyigo/exchange_rates/statuses/{sha}","languages_url":"https://api.github.com/repos/inyigo/exchange_rates/languages","stargazers_url":"https://api.github.com/repos/inyigo/exchange_rates/stargazers","contributors_url":"https://api.github.com/repos/inyigo/exchange_rates/contributors","subscribers_url":"https://api.github.com/repos/inyigo/exchange_rates/subscribers","subscription_url":"https://api.github.com/repos/inyigo/exchange_rates/subscription","commits_url":"https://api.github.com/repos/inyigo/exchange_rates/commits{/sha}","git_commits_url":"https://api.github.com/repos/inyigo/exchange_rates/git/commits{/sha}","comments_url":"https://api.github.com/repos/inyigo/exchange_rates/comments{/number}","issue_comment_url":"https://api.github.com/repos/inyigo/exchange_rates/issues/comments/{number}","contents_url":"https://api.github.com/repos/inyigo/exchange_rates/contents/{+path}","compare_url":"https://api.github.com/repos/inyigo/exchange_rates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inyigo/exchange_rates/merges","archive_url":"https://api.github.com/repos/inyigo/exchange_rates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inyigo/exchange_rates/downloads","issues_url":"https://api.github.com/repos/inyigo/exchange_rates/issues{/number}","pulls_url":"https://api.github.com/repos/inyigo/exchange_rates/pulls{/number}","milestones_url":"https://api.github.com/repos/inyigo/exchange_rates/milestones{/number}","notifications_url":"https://api.github.com/repos/inyigo/exchange_rates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inyigo/exchange_rates/labels{/name}","releases_url":"https://api.github.com/repos/inyigo/exchange_rates/releases{/id}","created_at":"2014-11-09T07:22:01Z","updated_at":"2014-11-09T07:23:25Z","pushed_at":"2014-11-09T07:23:41Z","git_url":"git://github.com/inyigo/exchange_rates.git","ssh_url":"git@github.com:inyigo/exchange_rates.git","clone_url":"https://github.com/inyigo/exchange_rates.git","svn_url":"https://github.com/inyigo/exchange_rates","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1"},"html":{"href":"https://github.com/inyigo/exchange_rates/pull/1"},"issue":{"href":"https://api.github.com/repos/inyigo/exchange_rates/issues/1"},"comments":{"href":"https://api.github.com/repos/inyigo/exchange_rates/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/inyigo/exchange_rates/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/inyigo/exchange_rates/statuses/ebce0db0fba3b6e816146ffc8e8d14151ef6e1a1"}}}}