{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/55140726","id":55140726,"diff_hunk":"@@ -0,0 +1,52 @@\n+require_relative 'airport'\n+\n+\n+class Plane\n+\n+\tdef initialize \n+\t\t@in_air = false\n+\tend\n+\n+\tdef take_off(from)\n+\t\tif from.airport_open?\n+\t\t\tfail 'This plane is not at this airport, so it cannot take off from here.' unless from.in_airport?(self)\n+\t\t\tfail 'This plane is already in the air, so it cannot take off.' if @in_air\n+\t\t\tfrom.storage.delete(self)\n+\t\t\t@in_air =true\n+\t\t\tplane_status\n+\t\telse\n+\t\t\tannouncement\n+\t\tend\n+\tend\n+\n+\tdef land(at)\n+\t\tif at.airport_open?\n+\t\t\tfail 'This airport is full. Do not land.' if at.full?\n+\t\t\tfail 'This plane is already at an airport.' if @in_air ==false\n+\t\t\tat.storage.push(self)\n+\t\t\t@in_air = false\n+\t\t\tplane_status\n+\t\telse\n+\t\t\tannouncement\n+\t\tend\n+\tend\n+\n+\tdef plane_status\n+\t\t@in_air == true ? 'This plane has taken off and is now in the air.' : 'This plane has now landed.'","path":"docs/plane.rb","position":35,"original_position":35,"commit_id":"d134844a1fa4eda0318d7127180239579975d734","original_commit_id":"d134844a1fa4eda0318d7127180239579975d734","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Metrics/LineLength: Line is too long. [100/80] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)","created_at":"2016-03-06T14:52:30Z","updated_at":"2016-03-06T14:52:30Z","html_url":"https://github.com/makersacademy/airport_challenge/pull/348#discussion_r55140726","pull_request_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/55140726"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/348#discussion_r55140726"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348","id":61844657,"html_url":"https://github.com/makersacademy/airport_challenge/pull/348","diff_url":"https://github.com/makersacademy/airport_challenge/pull/348.diff","patch_url":"https://github.com/makersacademy/airport_challenge/pull/348.patch","issue_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/348","number":348,"state":"open","locked":false,"title":"airport challenge","user":{"login":"hawksdoves","id":15752626,"avatar_url":"https://avatars.githubusercontent.com/u/15752626?v=3","gravatar_id":"","url":"https://api.github.com/users/hawksdoves","html_url":"https://github.com/hawksdoves","followers_url":"https://api.github.com/users/hawksdoves/followers","following_url":"https://api.github.com/users/hawksdoves/following{/other_user}","gists_url":"https://api.github.com/users/hawksdoves/gists{/gist_id}","starred_url":"https://api.github.com/users/hawksdoves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawksdoves/subscriptions","organizations_url":"https://api.github.com/users/hawksdoves/orgs","repos_url":"https://api.github.com/users/hawksdoves/repos","events_url":"https://api.github.com/users/hawksdoves/events{/privacy}","received_events_url":"https://api.github.com/users/hawksdoves/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-06T14:52:23Z","updated_at":"2016-03-06T14:52:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"409c768b8ce1d239a56747bdc92d39f18f06a07a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348/commits","review_comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348/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/348/comments","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/d134844a1fa4eda0318d7127180239579975d734","head":{"label":"hawksdoves:master","ref":"master","sha":"d134844a1fa4eda0318d7127180239579975d734","user":{"login":"hawksdoves","id":15752626,"avatar_url":"https://avatars.githubusercontent.com/u/15752626?v=3","gravatar_id":"","url":"https://api.github.com/users/hawksdoves","html_url":"https://github.com/hawksdoves","followers_url":"https://api.github.com/users/hawksdoves/followers","following_url":"https://api.github.com/users/hawksdoves/following{/other_user}","gists_url":"https://api.github.com/users/hawksdoves/gists{/gist_id}","starred_url":"https://api.github.com/users/hawksdoves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawksdoves/subscriptions","organizations_url":"https://api.github.com/users/hawksdoves/orgs","repos_url":"https://api.github.com/users/hawksdoves/repos","events_url":"https://api.github.com/users/hawksdoves/events{/privacy}","received_events_url":"https://api.github.com/users/hawksdoves/received_events","type":"User","site_admin":false},"repo":{"id":53200159,"name":"airport_challenge","full_name":"hawksdoves/airport_challenge","owner":{"login":"hawksdoves","id":15752626,"avatar_url":"https://avatars.githubusercontent.com/u/15752626?v=3","gravatar_id":"","url":"https://api.github.com/users/hawksdoves","html_url":"https://github.com/hawksdoves","followers_url":"https://api.github.com/users/hawksdoves/followers","following_url":"https://api.github.com/users/hawksdoves/following{/other_user}","gists_url":"https://api.github.com/users/hawksdoves/gists{/gist_id}","starred_url":"https://api.github.com/users/hawksdoves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawksdoves/subscriptions","organizations_url":"https://api.github.com/users/hawksdoves/orgs","repos_url":"https://api.github.com/users/hawksdoves/repos","events_url":"https://api.github.com/users/hawksdoves/events{/privacy}","received_events_url":"https://api.github.com/users/hawksdoves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hawksdoves/airport_challenge","description":"Fly!","fork":true,"url":"https://api.github.com/repos/hawksdoves/airport_challenge","forks_url":"https://api.github.com/repos/hawksdoves/airport_challenge/forks","keys_url":"https://api.github.com/repos/hawksdoves/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hawksdoves/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hawksdoves/airport_challenge/teams","hooks_url":"https://api.github.com/repos/hawksdoves/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/hawksdoves/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/hawksdoves/airport_challenge/events","assignees_url":"https://api.github.com/repos/hawksdoves/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/hawksdoves/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/hawksdoves/airport_challenge/tags","blobs_url":"https://api.github.com/repos/hawksdoves/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hawksdoves/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hawksdoves/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/hawksdoves/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hawksdoves/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/hawksdoves/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/hawksdoves/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/hawksdoves/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/hawksdoves/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/hawksdoves/airport_challenge/subscription","commits_url":"https://api.github.com/repos/hawksdoves/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/hawksdoves/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/hawksdoves/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/hawksdoves/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/hawksdoves/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/hawksdoves/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hawksdoves/airport_challenge/merges","archive_url":"https://api.github.com/repos/hawksdoves/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hawksdoves/airport_challenge/downloads","issues_url":"https://api.github.com/repos/hawksdoves/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/hawksdoves/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/hawksdoves/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/hawksdoves/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hawksdoves/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/hawksdoves/airport_challenge/releases{/id}","deployments_url":"https://api.github.com/repos/hawksdoves/airport_challenge/deployments","created_at":"2016-03-05T12:24:13Z","updated_at":"2016-03-05T12:24:15Z","pushed_at":"2016-03-06T14:50:40Z","git_url":"git://github.com/hawksdoves/airport_challenge.git","ssh_url":"git@github.com:hawksdoves/airport_challenge.git","clone_url":"https://github.com/hawksdoves/airport_challenge.git","svn_url":"https://github.com/hawksdoves/airport_challenge","homepage":"","size":99,"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":"cec3652974310a3b901ec8b6cd90eb82229694c3","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}","deployments_url":"https://api.github.com/repos/makersacademy/airport_challenge/deployments","created_at":"2014-11-24T12:30:39Z","updated_at":"2016-01-25T23:57:43Z","pushed_at":"2016-03-06T14:52:23Z","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":20515,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":300,"mirror_url":null,"open_issues_count":104,"forks":300,"open_issues":104,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/348"},"issue":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/348"},"comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/348/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/348/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/348/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/d134844a1fa4eda0318d7127180239579975d734"}}}}