{"action":"created","comment":{"url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/comments/84078779","pull_request_review_id":4876089,"id":84078779,"diff_hunk":"@@ -1,17 +1,250 @@\n require 'sqlite3'\n \n module Selection\n-\tdef find(id)\n-\t\t# straight forward SELECT that returns the row matching the id passed in\n-\t\t# why we are using columns instead of (*)?\n+\tdef get_min\n+\t\tmin = connection.execute <<-SQL\n+\t\t\tSELECT id FROM #{table}\n+\t\t\tORDER BY id ASC LIMIT 1;\n+\t\tSQL\n+\t\tmin[0][0]\n+\tend\n+\n+\tdef get_max\n+\t\tmax = connection.execute <<-SQL\n+\t\t\tSELECT id FROM #{table}\n+\t\t\tORDER BY id DESC LIMIT 1;\n+\t\tSQL\n+\t\tmax[0][0]\n+\tend\n+\n+\tdef find(*ids)\n+\t\t# if there is just one id, we call find_one, which returns a model object\n+\t\t# otherwise we pass in the arguments\n+\t\t# then use join to convert them into a comma-delimited string that SQL will like\n+\t\t# Then we call rows_to_array to do as the name says, return the found rows as an array\n+\n+\t\t# error handling for ids - make sure its within range of min and max\n+\n+\t\tif ids.length == 1\n+\t\t\tif ids.is_a? Integer\n+\t\t\t\tif ids >= max || ids <= min\n+\t\t\t\t\tputs \"record id out of range\"\n+\t\t\t\telse\n+\t\t\t\t\tfind_one(ids.first)\n+\t\t\t\tend\n+\t\t\telse\n+\t\t\t\tputs \"Invalid id data type\"\n+\t\t\tend\n+\t\telse\n+\t\t\tids_in_range = true\n+\t\t\tids_valid = true\n+\t\t\tids.each do |id|\n+\t\t\t\tif id.is_a? Integer\n+\t\t\t\t\tif id < min || id > max\n+\t\t\t\t\t\tids_in_range = false\n+\t\t\t\t\tend\n+\t\t\t\telse\n+\t\t\t\t\tids_valid = false\n+\t\t\t\t\tputs \"Invalid id data type\"\n+\t\t\t\tend\n+\t\t\tend\n+\n+\t\t\tif ids_in_range && ids_valid\n+\t\t\t\trows = connection.execute <<-SQL\n+\t\t\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\t\t\tWHERE id IN (#{ids.join(\",\")});\n+\t\t\t\tSQL\n+\n+\t\t\t\trows_to_array(rows)\n+\t\t\telse\n+\t\t\t\tputs \"ids out of range\"\n+\t\t\tend\n+\t\tend\n+\tend\n+\n+\n+\tdef find_one(id)\n+\t\t# straight-forward SELECT that returns the row matching the id passed in\n+\t\t# By using columns instead of (*) we can manipulate this method later\n \t\trow = connection.get_first_row <<-SQL\n \t\t\tSELECT #{columns.join \",\"} FROM #{table}\n \t\t\tWHERE id = #{id};\n \t\tSQL\n \n-\t\t# then we take the returned SQL data, hash it, and return it\n+\t\tinit_object_from_row(row)\n+\tend\n+\n+\n+\tdef find_by(attribute, value)\n+\t\t# here we return the first match where attribute == value for the record\n+\t\t# we rely on init_object_from_row to return an object\n+\n+\t\t# first, check for proper data types / not null\n+\n+\t\tif attribute && attribute.is_a?(Symbol) && value\n+\t\t\n+\t\t\trow = connection.get_first_row <<-SQL\n+\t\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\t\tWHERE #{attribute} = #{BlocRecord::Utility.sql_strings(value)};\n+\t\t\tSQL\n+\n+\t\t\tinit_object_from_row(row)\n+\t\telse\n+\t\t\tputs \"attribute must be a string and value cannot be null for find_by\"\n+\t\tend\n+\tend\n+\n+\n+\tdef take_one\n+\t\t# Here we are just grabbing a random row from the table\n+\t\trow = connection.get_first_row <<- SQL\n+\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\tORDER BY random()\n+\t\t\tLIMIT 1;\n+\t\tSQL\n+\n+\t\tinit_object_from_row(row)\n+\tend\n+\n+\n+\tdef take(num=1)\n+\t\t# similar to take_one() but with a variable number of return random items as an array\n+\t\t# if single num or no num passed in, returns object courtesy take_one()\n+\n+\t\t# let's make sure num is an integer\n+\t\t# if it is an integer, lets make sure it is a positive number and less than set count\n+\n+\t\tif num.is_a? Integer\n+\t\t\tif num > 0 && num <= self.count\n+\t\t\t\tif num > 1\n+\t\t\t\t\trows = connection.execute <<-SQL\n+\t\t\t\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\t\t\t\tORDER BY random()\n+\t\t\t\t\t\tLIMIT #{num};\n+\t\t\t\t\tSQL\n+\t\t\t\telse\n+\t\t\t\t\ttake_one\n+\t\t\t\tend\n+\t\t\telse\n+\t\t\t\tputs \"Number of items to take is out of range\"\n+\t\t\tend\n+\t\telse\n+\t\t\tputs \"Argument is not a valid number\"\n+\t\tend\n+\tend\n+\n+\t# first() and last() return first or last object in the database\n+\tdef first\n+\t\trow = connection.get_first_row <<-SQL\n+\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\tORDER BY id\n+\t\t\tASC LIMIT 1;\n+\t\tSQL\n+\n+\t\tinit_object_from_row(row)\n+\tend\n+\n+\tdef last\n+\t\trow = connection.get_first_row <<-SQL\n+\t\t\tSELECT #{columns.join \",\"} FROM #{table}\n+\t\t\tORDER BY id\n+\t\t\tDESC LIMIT 1;\n+\t\tSQL\n+\n+\t\tinit_object_from_row(row)\n+\tend\n+\n+\n+\tdef all\n+\t\trows = connection.execute <<-SQL\n+\t\t\tSELECT #{columns.join \",\"} FROM #{table};\n+\t\tSQL\n+\n+\t\trows_to_array(rows)\n+\tend\n+\n+\n+\tdef method_missing(method, *arguments, &block)\n+\t\tif method == \"find_by_name\"\n+\t\t\tfind_by(:name, *arguments)\n+\t\telse\n+\t\t\tputs \"no such method found\"\n+\t\tend\n+\tend\n+\n+\tdef find_each(attribute, value, batch_size=nil, &block)","path":"lib/bloc_record/selection.rb","position":179,"original_position":179,"commit_id":"4aa78ce122176f060c2d95ca3d3dcb48eadae6c4","original_commit_id":"4aa78ce122176f060c2d95ca3d3dcb48eadae6c4","user":{"login":"dawsonc623","id":6944054,"avatar_url":"https://avatars.githubusercontent.com/u/6944054?v=3","gravatar_id":"","url":"https://api.github.com/users/dawsonc623","html_url":"https://github.com/dawsonc623","followers_url":"https://api.github.com/users/dawsonc623/followers","following_url":"https://api.github.com/users/dawsonc623/following{/other_user}","gists_url":"https://api.github.com/users/dawsonc623/gists{/gist_id}","starred_url":"https://api.github.com/users/dawsonc623/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawsonc623/subscriptions","organizations_url":"https://api.github.com/users/dawsonc623/orgs","repos_url":"https://api.github.com/users/dawsonc623/repos","events_url":"https://api.github.com/users/dawsonc623/events{/privacy}","received_events_url":"https://api.github.com/users/dawsonc623/received_events","type":"User","site_admin":false},"body":"Look again at the example usages. In particular, look at what they pass in for arguments. One thing you will need to remember is what gets passed into a method when a syntax this this is used: `some_object.some_method(some: \"thing\", some_other: 42)`. If you are not familiar with that syntax, review it; it is a Ruby shorthand syntax. If you end up working a job with Ruby (with or without Rails), I guarantee you will see it.","created_at":"2016-10-19T14:11:23Z","updated_at":"2016-10-19T14:15:10Z","html_url":"https://github.com/russellschmidt/BlocRecord2/pull/1#discussion_r84078779","pull_request_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/comments/84078779"},"html":{"href":"https://github.com/russellschmidt/BlocRecord2/pull/1#discussion_r84078779"},"pull_request":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1","id":89758097,"html_url":"https://github.com/russellschmidt/BlocRecord2/pull/1","diff_url":"https://github.com/russellschmidt/BlocRecord2/pull/1.diff","patch_url":"https://github.com/russellschmidt/BlocRecord2/pull/1.patch","issue_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/1","number":1,"state":"open","locked":false,"title":"Blocrecord 3","user":{"login":"russellschmidt","id":2733097,"avatar_url":"https://avatars.githubusercontent.com/u/2733097?v=3","gravatar_id":"","url":"https://api.github.com/users/russellschmidt","html_url":"https://github.com/russellschmidt","followers_url":"https://api.github.com/users/russellschmidt/followers","following_url":"https://api.github.com/users/russellschmidt/following{/other_user}","gists_url":"https://api.github.com/users/russellschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/russellschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellschmidt/subscriptions","organizations_url":"https://api.github.com/users/russellschmidt/orgs","repos_url":"https://api.github.com/users/russellschmidt/repos","events_url":"https://api.github.com/users/russellschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/russellschmidt/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-18T07:10:34Z","updated_at":"2016-10-19T14:15:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a09c8aef89c8ed47b34ac0ec8041dc9c99ed495","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/1/comments","statuses_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/statuses/4aa78ce122176f060c2d95ca3d3dcb48eadae6c4","head":{"label":"russellschmidt:blocrecord_3","ref":"blocrecord_3","sha":"4aa78ce122176f060c2d95ca3d3dcb48eadae6c4","user":{"login":"russellschmidt","id":2733097,"avatar_url":"https://avatars.githubusercontent.com/u/2733097?v=3","gravatar_id":"","url":"https://api.github.com/users/russellschmidt","html_url":"https://github.com/russellschmidt","followers_url":"https://api.github.com/users/russellschmidt/followers","following_url":"https://api.github.com/users/russellschmidt/following{/other_user}","gists_url":"https://api.github.com/users/russellschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/russellschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellschmidt/subscriptions","organizations_url":"https://api.github.com/users/russellschmidt/orgs","repos_url":"https://api.github.com/users/russellschmidt/repos","events_url":"https://api.github.com/users/russellschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/russellschmidt/received_events","type":"User","site_admin":false},"repo":{"id":70194516,"name":"BlocRecord2","full_name":"russellschmidt/BlocRecord2","owner":{"login":"russellschmidt","id":2733097,"avatar_url":"https://avatars.githubusercontent.com/u/2733097?v=3","gravatar_id":"","url":"https://api.github.com/users/russellschmidt","html_url":"https://github.com/russellschmidt","followers_url":"https://api.github.com/users/russellschmidt/followers","following_url":"https://api.github.com/users/russellschmidt/following{/other_user}","gists_url":"https://api.github.com/users/russellschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/russellschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellschmidt/subscriptions","organizations_url":"https://api.github.com/users/russellschmidt/orgs","repos_url":"https://api.github.com/users/russellschmidt/repos","events_url":"https://api.github.com/users/russellschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/russellschmidt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/russellschmidt/BlocRecord2","description":"Drop-in replacement for ActiveRecord  (Ruby)","fork":false,"url":"https://api.github.com/repos/russellschmidt/BlocRecord2","forks_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/forks","keys_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/teams","hooks_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/hooks","issue_events_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/events{/number}","events_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/events","assignees_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/assignees{/user}","branches_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/branches{/branch}","tags_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/tags","blobs_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/refs{/sha}","trees_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/statuses/{sha}","languages_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/languages","stargazers_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/stargazers","contributors_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/contributors","subscribers_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/subscribers","subscription_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/subscription","commits_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/commits{/sha}","git_commits_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/commits{/sha}","comments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/comments{/number}","issue_comment_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/comments{/number}","contents_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/contents/{+path}","compare_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/merges","archive_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/downloads","issues_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues{/number}","pulls_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls{/number}","milestones_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/milestones{/number}","notifications_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/labels{/name}","releases_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/releases{/id}","deployments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/deployments","created_at":"2016-10-06T21:26:51Z","updated_at":"2016-10-06T21:54:06Z","pushed_at":"2016-10-19T05:03:41Z","git_url":"git://github.com/russellschmidt/BlocRecord2.git","ssh_url":"git@github.com:russellschmidt/BlocRecord2.git","clone_url":"https://github.com/russellschmidt/BlocRecord2.git","svn_url":"https://github.com/russellschmidt/BlocRecord2","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"blocrecord_2"}},"base":{"label":"russellschmidt:blocrecord_2","ref":"blocrecord_2","sha":"f4bc2a9615235268df14a3c8e91df0fdf307cc0a","user":{"login":"russellschmidt","id":2733097,"avatar_url":"https://avatars.githubusercontent.com/u/2733097?v=3","gravatar_id":"","url":"https://api.github.com/users/russellschmidt","html_url":"https://github.com/russellschmidt","followers_url":"https://api.github.com/users/russellschmidt/followers","following_url":"https://api.github.com/users/russellschmidt/following{/other_user}","gists_url":"https://api.github.com/users/russellschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/russellschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellschmidt/subscriptions","organizations_url":"https://api.github.com/users/russellschmidt/orgs","repos_url":"https://api.github.com/users/russellschmidt/repos","events_url":"https://api.github.com/users/russellschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/russellschmidt/received_events","type":"User","site_admin":false},"repo":{"id":70194516,"name":"BlocRecord2","full_name":"russellschmidt/BlocRecord2","owner":{"login":"russellschmidt","id":2733097,"avatar_url":"https://avatars.githubusercontent.com/u/2733097?v=3","gravatar_id":"","url":"https://api.github.com/users/russellschmidt","html_url":"https://github.com/russellschmidt","followers_url":"https://api.github.com/users/russellschmidt/followers","following_url":"https://api.github.com/users/russellschmidt/following{/other_user}","gists_url":"https://api.github.com/users/russellschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/russellschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellschmidt/subscriptions","organizations_url":"https://api.github.com/users/russellschmidt/orgs","repos_url":"https://api.github.com/users/russellschmidt/repos","events_url":"https://api.github.com/users/russellschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/russellschmidt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/russellschmidt/BlocRecord2","description":"Drop-in replacement for ActiveRecord  (Ruby)","fork":false,"url":"https://api.github.com/repos/russellschmidt/BlocRecord2","forks_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/forks","keys_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/teams","hooks_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/hooks","issue_events_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/events{/number}","events_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/events","assignees_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/assignees{/user}","branches_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/branches{/branch}","tags_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/tags","blobs_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/refs{/sha}","trees_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/statuses/{sha}","languages_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/languages","stargazers_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/stargazers","contributors_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/contributors","subscribers_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/subscribers","subscription_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/subscription","commits_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/commits{/sha}","git_commits_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/git/commits{/sha}","comments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/comments{/number}","issue_comment_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/comments{/number}","contents_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/contents/{+path}","compare_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/merges","archive_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/downloads","issues_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues{/number}","pulls_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls{/number}","milestones_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/milestones{/number}","notifications_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/labels{/name}","releases_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/releases{/id}","deployments_url":"https://api.github.com/repos/russellschmidt/BlocRecord2/deployments","created_at":"2016-10-06T21:26:51Z","updated_at":"2016-10-06T21:54:06Z","pushed_at":"2016-10-19T05:03:41Z","git_url":"git://github.com/russellschmidt/BlocRecord2.git","ssh_url":"git@github.com:russellschmidt/BlocRecord2.git","clone_url":"https://github.com/russellschmidt/BlocRecord2.git","svn_url":"https://github.com/russellschmidt/BlocRecord2","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"blocrecord_2"}},"_links":{"self":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1"},"html":{"href":"https://github.com/russellschmidt/BlocRecord2/pull/1"},"issue":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/1"},"comments":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/russellschmidt/BlocRecord2/statuses/4aa78ce122176f060c2d95ca3d3dcb48eadae6c4"}}}}
{"actor":{"display_login":"dawsonc623"}}