{"action":"created","comment":{"url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/comments/37492641","id":37492641,"diff_hunk":"@@ -0,0 +1,41 @@\n+#practice creating classes, class methods and class instances\n+\n+class Outfit\n+  attr_accessor :top, :bottom, :outerwear, :shoes\n+  def initialize (top, bottom, outerwear, shoes)\n+    @top = top\n+    @bottom = bottom\n+    @outerwear = outerwear\n+    @shoes = shoes\n+  end\n+\n+\n+  def self.make_outfits(number)\n+    outfits = number.to_i\n+    outfits.times do\n+      Outfit.random_outfit_maker\n+    end\n+  end\n+\n+  def self.random_outfit_maker\n+\n+    tops = [\"blouse\", \"tank\", \"t-shirt\", \"chambray\"]\n+    bottoms = [\"jeans\", \"shorts\", \"skirt\", \"slacks\"]\n+    outerwear = [\"jacket\", \"sweater\"]\n+    shoes = [\"boots\", \"sandals\", \"flats\", \"heels\"]\n+\n+    top = tops.sample\n+    bottom = bottoms.sample\n+    outerwear = outerwear.sample\n+    shoes = shoes.sample\n+\n+    outfit = Outfit.new(top, bottom, outerwear, shoes)\n+    puts \"Hello, you should wear a #{top} with #{bottom} and bring a #{outerwear}. Don't forget your #{shoes}!\"","path":"SarahKavrell-sarahkavrell/oop_practice_week_4.rb","position":33,"original_position":33,"commit_id":"8f0eafdfce6d17c0caf463669513c50e4d0194a4","original_commit_id":"8f0eafdfce6d17c0caf463669513c50e4d0194a4","user":{"login":"Borgaard","id":7587991,"avatar_url":"https://avatars.githubusercontent.com/u/7587991?v=3","gravatar_id":"","url":"https://api.github.com/users/Borgaard","html_url":"https://github.com/Borgaard","followers_url":"https://api.github.com/users/Borgaard/followers","following_url":"https://api.github.com/users/Borgaard/following{/other_user}","gists_url":"https://api.github.com/users/Borgaard/gists{/gist_id}","starred_url":"https://api.github.com/users/Borgaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Borgaard/subscriptions","organizations_url":"https://api.github.com/users/Borgaard/orgs","repos_url":"https://api.github.com/users/Borgaard/repos","events_url":"https://api.github.com/users/Borgaard/events{/privacy}","received_events_url":"https://api.github.com/users/Borgaard/received_events","type":"User","site_admin":false},"body":"Oommmmgg omg I need this automated personal stylist in my life. :haircut: ","created_at":"2015-08-20T03:43:19Z","updated_at":"2015-08-20T03:43:19Z","html_url":"https://github.com/ga-students/bewd_sf_10_homework/pull/124#discussion_r37492641","pull_request_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/comments/37492641"},"html":{"href":"https://github.com/ga-students/bewd_sf_10_homework/pull/124#discussion_r37492641"},"pull_request":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124","id":42648271,"html_url":"https://github.com/ga-students/bewd_sf_10_homework/pull/124","diff_url":"https://github.com/ga-students/bewd_sf_10_homework/pull/124.diff","patch_url":"https://github.com/ga-students/bewd_sf_10_homework/pull/124.patch","issue_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/124","number":124,"state":"open","locked":false,"title":"Mashable_homework ","user":{"login":"SarahKavrell","id":8183311,"avatar_url":"https://avatars.githubusercontent.com/u/8183311?v=3","gravatar_id":"","url":"https://api.github.com/users/SarahKavrell","html_url":"https://github.com/SarahKavrell","followers_url":"https://api.github.com/users/SarahKavrell/followers","following_url":"https://api.github.com/users/SarahKavrell/following{/other_user}","gists_url":"https://api.github.com/users/SarahKavrell/gists{/gist_id}","starred_url":"https://api.github.com/users/SarahKavrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SarahKavrell/subscriptions","organizations_url":"https://api.github.com/users/SarahKavrell/orgs","repos_url":"https://api.github.com/users/SarahKavrell/repos","events_url":"https://api.github.com/users/SarahKavrell/events{/privacy}","received_events_url":"https://api.github.com/users/SarahKavrell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-18T00:01:35Z","updated_at":"2015-08-20T03:43:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd1f50f2e85d8304e83b10037fd3ea322bf3209b","assignee":{"login":"Borgaard","id":7587991,"avatar_url":"https://avatars.githubusercontent.com/u/7587991?v=3","gravatar_id":"","url":"https://api.github.com/users/Borgaard","html_url":"https://github.com/Borgaard","followers_url":"https://api.github.com/users/Borgaard/followers","following_url":"https://api.github.com/users/Borgaard/following{/other_user}","gists_url":"https://api.github.com/users/Borgaard/gists{/gist_id}","starred_url":"https://api.github.com/users/Borgaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Borgaard/subscriptions","organizations_url":"https://api.github.com/users/Borgaard/orgs","repos_url":"https://api.github.com/users/Borgaard/repos","events_url":"https://api.github.com/users/Borgaard/events{/privacy}","received_events_url":"https://api.github.com/users/Borgaard/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124/commits","review_comments_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124/comments","review_comment_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/124/comments","statuses_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/statuses/8f0eafdfce6d17c0caf463669513c50e4d0194a4","head":{"label":"SarahKavrell:master","ref":"master","sha":"8f0eafdfce6d17c0caf463669513c50e4d0194a4","user":{"login":"SarahKavrell","id":8183311,"avatar_url":"https://avatars.githubusercontent.com/u/8183311?v=3","gravatar_id":"","url":"https://api.github.com/users/SarahKavrell","html_url":"https://github.com/SarahKavrell","followers_url":"https://api.github.com/users/SarahKavrell/followers","following_url":"https://api.github.com/users/SarahKavrell/following{/other_user}","gists_url":"https://api.github.com/users/SarahKavrell/gists{/gist_id}","starred_url":"https://api.github.com/users/SarahKavrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SarahKavrell/subscriptions","organizations_url":"https://api.github.com/users/SarahKavrell/orgs","repos_url":"https://api.github.com/users/SarahKavrell/repos","events_url":"https://api.github.com/users/SarahKavrell/events{/privacy}","received_events_url":"https://api.github.com/users/SarahKavrell/received_events","type":"User","site_admin":false},"repo":{"id":39925779,"name":"bewd_sf_10_homework","full_name":"SarahKavrell/bewd_sf_10_homework","owner":{"login":"SarahKavrell","id":8183311,"avatar_url":"https://avatars.githubusercontent.com/u/8183311?v=3","gravatar_id":"","url":"https://api.github.com/users/SarahKavrell","html_url":"https://github.com/SarahKavrell","followers_url":"https://api.github.com/users/SarahKavrell/followers","following_url":"https://api.github.com/users/SarahKavrell/following{/other_user}","gists_url":"https://api.github.com/users/SarahKavrell/gists{/gist_id}","starred_url":"https://api.github.com/users/SarahKavrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SarahKavrell/subscriptions","organizations_url":"https://api.github.com/users/SarahKavrell/orgs","repos_url":"https://api.github.com/users/SarahKavrell/repos","events_url":"https://api.github.com/users/SarahKavrell/events{/privacy}","received_events_url":"https://api.github.com/users/SarahKavrell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SarahKavrell/bewd_sf_10_homework","description":"BEWD 10 Cohort Homework","fork":true,"url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework","forks_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/forks","keys_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/teams","hooks_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/hooks","issue_events_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/issues/events{/number}","events_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/events","assignees_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/assignees{/user}","branches_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/branches{/branch}","tags_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/tags","blobs_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/languages","stargazers_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/stargazers","contributors_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/contributors","subscribers_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/subscribers","subscription_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/subscription","commits_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/contents/{+path}","compare_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/merges","archive_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/downloads","issues_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/issues{/number}","pulls_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/labels{/name}","releases_url":"https://api.github.com/repos/SarahKavrell/bewd_sf_10_homework/releases{/id}","created_at":"2015-07-30T01:54:07Z","updated_at":"2015-07-30T02:46:06Z","pushed_at":"2015-08-20T01:30:12Z","git_url":"git://github.com/SarahKavrell/bewd_sf_10_homework.git","ssh_url":"git@github.com:SarahKavrell/bewd_sf_10_homework.git","clone_url":"https://github.com/SarahKavrell/bewd_sf_10_homework.git","svn_url":"https://github.com/SarahKavrell/bewd_sf_10_homework","homepage":null,"size":2452,"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":"ga-students:master","ref":"master","sha":"4576522ed5cc6d70ede4383bfac01cf34fb9b894","user":{"login":"ga-students","id":5048067,"avatar_url":"https://avatars.githubusercontent.com/u/5048067?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-students","html_url":"https://github.com/ga-students","followers_url":"https://api.github.com/users/ga-students/followers","following_url":"https://api.github.com/users/ga-students/following{/other_user}","gists_url":"https://api.github.com/users/ga-students/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-students/subscriptions","organizations_url":"https://api.github.com/users/ga-students/orgs","repos_url":"https://api.github.com/users/ga-students/repos","events_url":"https://api.github.com/users/ga-students/events{/privacy}","received_events_url":"https://api.github.com/users/ga-students/received_events","type":"Organization","site_admin":false},"repo":{"id":39805458,"name":"bewd_sf_10_homework","full_name":"ga-students/bewd_sf_10_homework","owner":{"login":"ga-students","id":5048067,"avatar_url":"https://avatars.githubusercontent.com/u/5048067?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-students","html_url":"https://github.com/ga-students","followers_url":"https://api.github.com/users/ga-students/followers","following_url":"https://api.github.com/users/ga-students/following{/other_user}","gists_url":"https://api.github.com/users/ga-students/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-students/subscriptions","organizations_url":"https://api.github.com/users/ga-students/orgs","repos_url":"https://api.github.com/users/ga-students/repos","events_url":"https://api.github.com/users/ga-students/events{/privacy}","received_events_url":"https://api.github.com/users/ga-students/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-students/bewd_sf_10_homework","description":"BEWD 10 Cohort Homework","fork":false,"url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework","forks_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/forks","keys_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/teams","hooks_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/hooks","issue_events_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/events{/number}","events_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/events","assignees_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/assignees{/user}","branches_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/branches{/branch}","tags_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/tags","blobs_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/languages","stargazers_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/stargazers","contributors_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/contributors","subscribers_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/subscribers","subscription_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/subscription","commits_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/contents/{+path}","compare_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/merges","archive_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/downloads","issues_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues{/number}","pulls_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/labels{/name}","releases_url":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/releases{/id}","created_at":"2015-07-28T00:57:38Z","updated_at":"2015-08-07T03:46:14Z","pushed_at":"2015-08-20T03:35:40Z","git_url":"git://github.com/ga-students/bewd_sf_10_homework.git","ssh_url":"git@github.com:ga-students/bewd_sf_10_homework.git","clone_url":"https://github.com/ga-students/bewd_sf_10_homework.git","svn_url":"https://github.com/ga-students/bewd_sf_10_homework","homepage":null,"size":3658,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":11,"forks":34,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124"},"html":{"href":"https://github.com/ga-students/bewd_sf_10_homework/pull/124"},"issue":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/124"},"comments":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/ga-students/bewd_sf_10_homework/statuses/8f0eafdfce6d17c0caf463669513c50e4d0194a4"}}}}