{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32","id":45981089,"html_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI/pull/32","diff_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI/pull/32.diff","patch_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI/pull/32.patch","issue_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/32","number":32,"state":"open","locked":false,"title":"Update rental/lr","user":{"login":"lindseyreno","id":11066627,"avatar_url":"https://avatars.githubusercontent.com/u/11066627?v=3","gravatar_id":"","url":"https://api.github.com/users/lindseyreno","html_url":"https://github.com/lindseyreno","followers_url":"https://api.github.com/users/lindseyreno/followers","following_url":"https://api.github.com/users/lindseyreno/following{/other_user}","gists_url":"https://api.github.com/users/lindseyreno/gists{/gist_id}","starred_url":"https://api.github.com/users/lindseyreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindseyreno/subscriptions","organizations_url":"https://api.github.com/users/lindseyreno/orgs","repos_url":"https://api.github.com/users/lindseyreno/repos","events_url":"https://api.github.com/users/lindseyreno/events{/privacy}","received_events_url":"https://api.github.com/users/lindseyreno/received_events","type":"User","site_admin":false},"body":"I had to change the rental model function checkIn to also use the customer_id so it didn't add the return date to all rentals with that movie_title.  This does not handle the edge case of a single customer checking out more than one copy of a movie but the requirements say to use the customer id and the movie title rather than the rental id to check in a movie.  I updated the model and controller tests to reflect this change.","created_at":"2015-09-25T06:34:23Z","updated_at":"2015-09-25T06:34:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32/commits","review_comments_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32/comments","review_comment_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/32/comments","statuses_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/statuses/0a817febdd3a0ea625de0842c0f870b4fed04f4e","head":{"label":"catchingash:update_rental/lr","ref":"update_rental/lr","sha":"0a817febdd3a0ea625de0842c0f870b4fed04f4e","user":{"login":"catchingash","id":7034037,"avatar_url":"https://avatars.githubusercontent.com/u/7034037?v=3","gravatar_id":"","url":"https://api.github.com/users/catchingash","html_url":"https://github.com/catchingash","followers_url":"https://api.github.com/users/catchingash/followers","following_url":"https://api.github.com/users/catchingash/following{/other_user}","gists_url":"https://api.github.com/users/catchingash/gists{/gist_id}","starred_url":"https://api.github.com/users/catchingash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchingash/subscriptions","organizations_url":"https://api.github.com/users/catchingash/orgs","repos_url":"https://api.github.com/users/catchingash/repos","events_url":"https://api.github.com/users/catchingash/events{/privacy}","received_events_url":"https://api.github.com/users/catchingash/received_events","type":"User","site_admin":false},"repo":{"id":42666553,"name":"C3Projects--VideoStoreAPI","full_name":"catchingash/C3Projects--VideoStoreAPI","owner":{"login":"catchingash","id":7034037,"avatar_url":"https://avatars.githubusercontent.com/u/7034037?v=3","gravatar_id":"","url":"https://api.github.com/users/catchingash","html_url":"https://github.com/catchingash","followers_url":"https://api.github.com/users/catchingash/followers","following_url":"https://api.github.com/users/catchingash/following{/other_user}","gists_url":"https://api.github.com/users/catchingash/gists{/gist_id}","starred_url":"https://api.github.com/users/catchingash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchingash/subscriptions","organizations_url":"https://api.github.com/users/catchingash/orgs","repos_url":"https://api.github.com/users/catchingash/repos","events_url":"https://api.github.com/users/catchingash/events{/privacy}","received_events_url":"https://api.github.com/users/catchingash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI","description":"","fork":true,"url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI","forks_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/forks","keys_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/teams","hooks_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/hooks","issue_events_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/events{/number}","events_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/events","assignees_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/assignees{/user}","branches_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/branches{/branch}","tags_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/tags","blobs_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/languages","stargazers_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/stargazers","contributors_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/contributors","subscribers_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/subscribers","subscription_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/subscription","commits_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/contents/{+path}","compare_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/merges","archive_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/downloads","issues_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues{/number}","pulls_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/labels{/name}","releases_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/releases{/id}","created_at":"2015-09-17T16:06:55Z","updated_at":"2015-09-17T21:23:03Z","pushed_at":"2015-09-25T06:28:23Z","git_url":"git://github.com/catchingash/C3Projects--VideoStoreAPI.git","ssh_url":"git@github.com:catchingash/C3Projects--VideoStoreAPI.git","clone_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI.git","svn_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI","homepage":null,"size":875,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"anw+lr/master"}},"base":{"label":"catchingash:anw+lr/master","ref":"anw+lr/master","sha":"24da8617aec62a1f6f45b97f93cd2718253b4bae","user":{"login":"catchingash","id":7034037,"avatar_url":"https://avatars.githubusercontent.com/u/7034037?v=3","gravatar_id":"","url":"https://api.github.com/users/catchingash","html_url":"https://github.com/catchingash","followers_url":"https://api.github.com/users/catchingash/followers","following_url":"https://api.github.com/users/catchingash/following{/other_user}","gists_url":"https://api.github.com/users/catchingash/gists{/gist_id}","starred_url":"https://api.github.com/users/catchingash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchingash/subscriptions","organizations_url":"https://api.github.com/users/catchingash/orgs","repos_url":"https://api.github.com/users/catchingash/repos","events_url":"https://api.github.com/users/catchingash/events{/privacy}","received_events_url":"https://api.github.com/users/catchingash/received_events","type":"User","site_admin":false},"repo":{"id":42666553,"name":"C3Projects--VideoStoreAPI","full_name":"catchingash/C3Projects--VideoStoreAPI","owner":{"login":"catchingash","id":7034037,"avatar_url":"https://avatars.githubusercontent.com/u/7034037?v=3","gravatar_id":"","url":"https://api.github.com/users/catchingash","html_url":"https://github.com/catchingash","followers_url":"https://api.github.com/users/catchingash/followers","following_url":"https://api.github.com/users/catchingash/following{/other_user}","gists_url":"https://api.github.com/users/catchingash/gists{/gist_id}","starred_url":"https://api.github.com/users/catchingash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchingash/subscriptions","organizations_url":"https://api.github.com/users/catchingash/orgs","repos_url":"https://api.github.com/users/catchingash/repos","events_url":"https://api.github.com/users/catchingash/events{/privacy}","received_events_url":"https://api.github.com/users/catchingash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI","description":"","fork":true,"url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI","forks_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/forks","keys_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/teams","hooks_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/hooks","issue_events_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/events{/number}","events_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/events","assignees_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/assignees{/user}","branches_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/branches{/branch}","tags_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/tags","blobs_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/languages","stargazers_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/stargazers","contributors_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/contributors","subscribers_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/subscribers","subscription_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/subscription","commits_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/contents/{+path}","compare_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/merges","archive_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/downloads","issues_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues{/number}","pulls_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/labels{/name}","releases_url":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/releases{/id}","created_at":"2015-09-17T16:06:55Z","updated_at":"2015-09-17T21:23:03Z","pushed_at":"2015-09-25T06:28:23Z","git_url":"git://github.com/catchingash/C3Projects--VideoStoreAPI.git","ssh_url":"git@github.com:catchingash/C3Projects--VideoStoreAPI.git","clone_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI.git","svn_url":"https://github.com/catchingash/C3Projects--VideoStoreAPI","homepage":null,"size":875,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"anw+lr/master"}},"_links":{"self":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32"},"html":{"href":"https://github.com/catchingash/C3Projects--VideoStoreAPI/pull/32"},"issue":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/32"},"comments":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/catchingash/C3Projects--VideoStoreAPI/statuses/0a817febdd3a0ea625de0842c0f870b4fed04f4e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":60,"deletions":8,"changed_files":6}}