Skip to content

Instantly share code, notes, and snippets.

@schultyy
Created June 8, 2016 12:35
Show Gist options
  • Save schultyy/3ddef5a4c4b3ad7f4e0a33634cceb0c7 to your computer and use it in GitHub Desktop.
Save schultyy/3ddef5a4c4b3ad7f4e0a33634cceb0c7 to your computer and use it in GitHub Desktop.
response = [
{
"id"=> 1,
"url"=> "https://api.github.com/repos/octocat/Hello-World/issues/1347",
"repository_url"=>"https://api.github.com/repos/octocat/Hello-World",
"labels_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}",
"comments_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
"events_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/events",
"html_url"=>"https://github.com/octocat/Hello-World/issues/1347",
"number"=>1347,
"state"=>"open",
"title"=>"Found a bug",
"body"=>"I'm having a problem with this.",
"user"=>{
"login"=>"octocat",
"id"=>1,
"avatar_url"=>"https://github.com/images/error/octocat_happy.gif",
"gravatar_id"=>"",
"url"=>"https://api.github.com/users/octocat",
"html_url"=>"https://github.com/octocat",
"followers_url"=>"https://api.github.com/users/octocat/followers",
"following_url"=>"https://api.github.com/users/octocat/following{/other_user}",
"gists_url"=>"https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url"=>"https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url"=>"https://api.github.com/users/octocat/subscriptions",
"organizations_url"=>"https://api.github.com/users/octocat/orgs",
"repos_url"=>"https://api.github.com/users/octocat/repos",
"events_url"=>"https://api.github.com/users/octocat/events{/privacy}",
"received_events_url"=>"https://api.github.com/users/octocat/received_events",
"type"=>"User",
"site_admin"=>false
},
"labels"=>[
{
"url"=>"https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name"=>"bug",
"color"=>"f29513"
}
],
"assignee"=>{
"login"=>"octocat",
"id"=>1,
"avatar_url"=>"https://github.com/images/error/octocat_happy.gif",
"gravatar_id"=>"",
"url"=>"https://api.github.com/users/octocat",
"html_url"=>"https://github.com/octocat",
"followers_url"=>"https://api.github.com/users/octocat/followers",
"following_url"=>"https://api.github.com/users/octocat/following{/other_user}",
"gists_url"=>"https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url"=>"https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url"=>"https://api.github.com/users/octocat/subscriptions",
"organizations_url"=>"https://api.github.com/users/octocat/orgs",
"repos_url"=>"https://api.github.com/users/octocat/repos",
"events_url"=>"https://api.github.com/users/octocat/events{/privacy}",
"received_events_url"=>"https://api.github.com/users/octocat/received_events",
"type"=>"User",
"site_admin"=>false
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment