{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/35559053","id":35559053,"diff_hunk":"@@ -1,2 +1,46 @@\n+require_relative 'plane'\n+\n class Airport\n+  attr_accessor :capacity\n+\n+  def initialize capacity\n+    @capacity = capacity\n+  end\n+\n+  DEFAULT_CAPACITY = 15\n+\n+  attr_reader :capacity\n+\n+  def initialize\n+    @plane = []\n+    @capacity = DEFAULT_CAPACITY\n+  end\n+\n+  def release_plane\n+    @plane if not empty?\n+    @plane.pop\n+  end","path":"lib/airport.rb","position":22,"original_position":22,"commit_id":"bd3c53fe5c7920f68b529fe77acc79bfde713578","original_commit_id":"bd3c53fe5c7920f68b529fe77acc79bfde713578","user":{"login":"danldb","id":6850045,"avatar_url":"https://avatars.githubusercontent.com/u/6850045?v=3","gravatar_id":"","url":"https://api.github.com/users/danldb","html_url":"https://github.com/danldb","followers_url":"https://api.github.com/users/danldb/followers","following_url":"https://api.github.com/users/danldb/following{/other_user}","gists_url":"https://api.github.com/users/danldb/gists{/gist_id}","starred_url":"https://api.github.com/users/danldb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danldb/subscriptions","organizations_url":"https://api.github.com/users/danldb/orgs","repos_url":"https://api.github.com/users/danldb/repos","events_url":"https://api.github.com/users/danldb/events{/privacy}","received_events_url":"https://api.github.com/users/danldb/received_events","type":"User","site_admin":false},"body":"I don't think this method is doing what you think it is doing.\r\n\r\nLine 20 is completely vacuous - it does nothing. Only line 21 is doing anything at all.","created_at":"2015-07-27T16:58:00Z","updated_at":"2015-07-27T16:58:00Z","html_url":"https://github.com/makersacademy/airport_challenge/pull/122#discussion_r35559053","pull_request_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/35559053"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/122#discussion_r35559053"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122","id":40860560,"html_url":"https://github.com/makersacademy/airport_challenge/pull/122","diff_url":"https://github.com/makersacademy/airport_challenge/pull/122.diff","patch_url":"https://github.com/makersacademy/airport_challenge/pull/122.patch","issue_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/122","number":122,"state":"open","locked":false,"title":"Airport challenge","user":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-26T21:54:22Z","updated_at":"2015-07-27T16:58:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b0adffb0c20223cb4279a443acd634b5938ee89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122/commits","review_comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122/comments","review_comment_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/122/comments","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/bd3c53fe5c7920f68b529fe77acc79bfde713578","head":{"label":"richgeog:master","ref":"master","sha":"bd3c53fe5c7920f68b529fe77acc79bfde713578","user":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"repo":{"id":39644772,"name":"airport_challenge","full_name":"richgeog/airport_challenge","owner":{"login":"richgeog","id":11146599,"avatar_url":"https://avatars.githubusercontent.com/u/11146599?v=3","gravatar_id":"","url":"https://api.github.com/users/richgeog","html_url":"https://github.com/richgeog","followers_url":"https://api.github.com/users/richgeog/followers","following_url":"https://api.github.com/users/richgeog/following{/other_user}","gists_url":"https://api.github.com/users/richgeog/gists{/gist_id}","starred_url":"https://api.github.com/users/richgeog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richgeog/subscriptions","organizations_url":"https://api.github.com/users/richgeog/orgs","repos_url":"https://api.github.com/users/richgeog/repos","events_url":"https://api.github.com/users/richgeog/events{/privacy}","received_events_url":"https://api.github.com/users/richgeog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richgeog/airport_challenge","description":"Fly!","fork":true,"url":"https://api.github.com/repos/richgeog/airport_challenge","forks_url":"https://api.github.com/repos/richgeog/airport_challenge/forks","keys_url":"https://api.github.com/repos/richgeog/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richgeog/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richgeog/airport_challenge/teams","hooks_url":"https://api.github.com/repos/richgeog/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/richgeog/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/richgeog/airport_challenge/events","assignees_url":"https://api.github.com/repos/richgeog/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/richgeog/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/richgeog/airport_challenge/tags","blobs_url":"https://api.github.com/repos/richgeog/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richgeog/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richgeog/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/richgeog/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richgeog/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/richgeog/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/richgeog/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/richgeog/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/richgeog/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/richgeog/airport_challenge/subscription","commits_url":"https://api.github.com/repos/richgeog/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/richgeog/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/richgeog/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/richgeog/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/richgeog/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/richgeog/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richgeog/airport_challenge/merges","archive_url":"https://api.github.com/repos/richgeog/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richgeog/airport_challenge/downloads","issues_url":"https://api.github.com/repos/richgeog/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/richgeog/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/richgeog/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/richgeog/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richgeog/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/richgeog/airport_challenge/releases{/id}","created_at":"2015-07-24T16:25:19Z","updated_at":"2015-07-24T16:25:19Z","pushed_at":"2015-07-26T22:12:26Z","git_url":"git://github.com/richgeog/airport_challenge.git","ssh_url":"git@github.com:richgeog/airport_challenge.git","clone_url":"https://github.com/richgeog/airport_challenge.git","svn_url":"https://github.com/richgeog/airport_challenge","homepage":"","size":118,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"makersacademy:master","ref":"master","sha":"bc7464938497f58404dc4037ecc5806d399ad517","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27074983,"name":"airport_challenge","full_name":"makersacademy/airport_challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/airport_challenge","description":"Fly!","fork":false,"url":"https://api.github.com/repos/makersacademy/airport_challenge","forks_url":"https://api.github.com/repos/makersacademy/airport_challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/airport_challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/airport_challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/airport_challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/airport_challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/airport_challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/airport_challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/airport_challenge/releases{/id}","created_at":"2014-11-24T12:30:39Z","updated_at":"2015-06-13T06:36:50Z","pushed_at":"2015-07-27T13:02:20Z","git_url":"git://github.com/makersacademy/airport_challenge.git","ssh_url":"git@github.com:makersacademy/airport_challenge.git","clone_url":"https://github.com/makersacademy/airport_challenge.git","svn_url":"https://github.com/makersacademy/airport_challenge","homepage":"","size":3789,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":28,"forks":112,"open_issues":28,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/122"},"issue":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/122"},"comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/bd3c53fe5c7920f68b529fe77acc79bfde713578"}}}}