{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/comments/33639308","id":33639308,"diff_hunk":"@@ -0,0 +1,45 @@\n+require 'pry'\n+\n+module BankAccounts\n+  class Account\n+\n+    attr_reader :id, :balance\n+\n+    # Rounds float value down to hundredths position\n+    # For example 10.2599 rounds to 10.25\n+    def round_to_hundredths(n)\n+      n = (((n * 100).floor) / 100.0)\n+      return n","path":"lib/bank_accounts/account.rb","position":12,"original_position":12,"commit_id":"ef7488e28f629b705247ff01a36686ff92b7ceab","original_commit_id":"ef7488e28f629b705247ff01a36686ff92b7ceab","user":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"body":"Hi @roseaboveit! I was adding that just to be explicit. Is this something that other devs/programmers dislike?","created_at":"2015-07-01T00:31:52Z","updated_at":"2015-07-01T00:31:52Z","html_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9#discussion_r33639308","pull_request_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/comments/33639308"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9#discussion_r33639308"},"pull_request":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9","id":36586770,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9","diff_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9.diff","patch_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9.patch","issue_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/9","number":9,"state":"open","locked":false,"title":"Complete Bank Accounts Project - Lunch and part of Dinner","user":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"body":"I completed the requirements through Lunch and some Dinner. I added an additional method to round the balance values down to the hundredths position, this is instead of using the Float.round method which rounds up if the thousandths position is >= 5. I figured banks would round down. I'd like to learn how to DRY up the withdraw_using_check method in my CheckingAccount class. Also, I used pry to do some debugging.","created_at":"2015-05-31T18:34:26Z","updated_at":"2015-07-01T00:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9ed49d80a9568d2b4752263d2905a7436d5f5bf","assignee":{"login":"roseaboveit","id":1103618,"avatar_url":"https://avatars.githubusercontent.com/u/1103618?v=3","gravatar_id":"","url":"https://api.github.com/users/roseaboveit","html_url":"https://github.com/roseaboveit","followers_url":"https://api.github.com/users/roseaboveit/followers","following_url":"https://api.github.com/users/roseaboveit/following{/other_user}","gists_url":"https://api.github.com/users/roseaboveit/gists{/gist_id}","starred_url":"https://api.github.com/users/roseaboveit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roseaboveit/subscriptions","organizations_url":"https://api.github.com/users/roseaboveit/orgs","repos_url":"https://api.github.com/users/roseaboveit/repos","events_url":"https://api.github.com/users/roseaboveit/events{/privacy}","received_events_url":"https://api.github.com/users/roseaboveit/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/9/comments","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/statuses/ef7488e28f629b705247ff01a36686ff92b7ceab","head":{"label":"acmei:acw/master","ref":"acw/master","sha":"ef7488e28f629b705247ff01a36686ff92b7ceab","user":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"repo":{"id":36468952,"name":"C3Projects--BankAccounts","full_name":"acmei/C3Projects--BankAccounts","owner":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acmei/C3Projects--BankAccounts","description":"","fork":true,"url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts","forks_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/forks","keys_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/teams","hooks_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/hooks","issue_events_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/issues/events{/number}","events_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/events","assignees_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/assignees{/user}","branches_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/branches{/branch}","tags_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/tags","blobs_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/git/refs{/sha}","trees_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/statuses/{sha}","languages_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/languages","stargazers_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/stargazers","contributors_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/contributors","subscribers_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/subscribers","subscription_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/subscription","commits_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/commits{/sha}","git_commits_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/git/commits{/sha}","comments_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/comments{/number}","issue_comment_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/issues/comments{/number}","contents_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/contents/{+path}","compare_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/merges","archive_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/downloads","issues_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/issues{/number}","pulls_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/pulls{/number}","milestones_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/milestones{/number}","notifications_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/labels{/name}","releases_url":"https://api.github.com/repos/acmei/C3Projects--BankAccounts/releases{/id}","created_at":"2015-05-28T22:11:13Z","updated_at":"2015-05-28T21:16:52Z","pushed_at":"2015-06-13T07:57:28Z","git_url":"git://github.com/acmei/C3Projects--BankAccounts.git","ssh_url":"git@github.com:acmei/C3Projects--BankAccounts.git","clone_url":"https://github.com/acmei/C3Projects--BankAccounts.git","svn_url":"https://github.com/acmei/C3Projects--BankAccounts","homepage":null,"size":183,"stargazers_count":0,"watchers_count":0,"language":null,"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":"Ada-Developers-Academy:acw/master","ref":"acw/master","sha":"abe0c36336e899d5fa691bbc7936899890712a70","user":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"repo":{"id":36466643,"name":"C3Projects--BankAccounts","full_name":"Ada-Developers-Academy/C3Projects--BankAccounts","owner":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts","description":"","fork":false,"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts","forks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/forks","keys_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/teams","hooks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/hooks","issue_events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/events","assignees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/tags","blobs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/languages","stargazers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/stargazers","contributors_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/contributors","subscribers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/subscribers","subscription_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/subscription","commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/merges","archive_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/downloads","issues_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/labels{/name}","releases_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/releases{/id}","created_at":"2015-05-28T21:16:52Z","updated_at":"2015-05-28T21:16:52Z","pushed_at":"2015-06-30T19:19:27Z","git_url":"git://github.com/Ada-Developers-Academy/C3Projects--BankAccounts.git","ssh_url":"git@github.com:Ada-Developers-Academy/C3Projects--BankAccounts.git","clone_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts.git","svn_url":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts","homepage":null,"size":905,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":16,"forks":26,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--BankAccounts/pull/9"},"issue":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/9"},"comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--BankAccounts/statuses/ef7488e28f629b705247ff01a36686ff92b7ceab"}}}}