{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22","id":109670125,"html_url":"https://github.com/europeana/europeana-api-client-ruby/pull/22","diff_url":"https://github.com/europeana/europeana-api-client-ruby/pull/22.diff","patch_url":"https://github.com/europeana/europeana-api-client-ruby/pull/22.patch","issue_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/22","number":22,"state":"open","locked":false,"title":"Handle plain text API responses","user":{"login":"rwd","id":218337,"avatar_url":"https://avatars0.githubusercontent.com/u/218337?v=3","gravatar_id":"","url":"https://api.github.com/users/rwd","html_url":"https://github.com/rwd","followers_url":"https://api.github.com/users/rwd/followers","following_url":"https://api.github.com/users/rwd/following{/other_user}","gists_url":"https://api.github.com/users/rwd/gists{/gist_id}","starred_url":"https://api.github.com/users/rwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwd/subscriptions","organizations_url":"https://api.github.com/users/rwd/orgs","repos_url":"https://api.github.com/users/rwd/repos","events_url":"https://api.github.com/users/rwd/events{/privacy}","received_events_url":"https://api.github.com/users/rwd/received_events","type":"User","site_admin":false},"body":"Which will always be an error state.\r\n\r\nFor all plain text and HTML responses from the API, fail with `Europeana::API::Errors::ResponseError`.","created_at":"2017-03-08T10:42:19Z","updated_at":"2017-03-08T10:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22/commits","review_comments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22/comments","review_comment_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/22/comments","statuses_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/statuses/3d255a1573eafc9c175370e15d9eefbcf0eca17c","head":{"label":"europeana:handle-plain-text-api-responses","ref":"handle-plain-text-api-responses","sha":"3d255a1573eafc9c175370e15d9eefbcf0eca17c","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars0.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":42661458,"name":"europeana-api-client-ruby","full_name":"europeana/europeana-api-client-ruby","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars0.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-api-client-ruby","description":"Ruby client library for the Europeana APIs for Search, Annotations and Entities.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-api-client-ruby","forks_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/forks","keys_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/events","assignees_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/merges","archive_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/deployments","created_at":"2015-09-17T14:37:49Z","updated_at":"2017-01-15T11:13:25Z","pushed_at":"2017-03-08T10:41:42Z","git_url":"git://github.com/europeana/europeana-api-client-ruby.git","ssh_url":"git@github.com:europeana/europeana-api-client-ruby.git","clone_url":"https://github.com/europeana/europeana-api-client-ruby.git","svn_url":"https://github.com/europeana/europeana-api-client-ruby","homepage":"https://rubygems.org/gems/europeana-api","size":235,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"develop"}},"base":{"label":"europeana:develop","ref":"develop","sha":"83bef2d1df3837f1e1b57468ae41248e4f6a89a5","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars0.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":42661458,"name":"europeana-api-client-ruby","full_name":"europeana/europeana-api-client-ruby","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars0.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-api-client-ruby","description":"Ruby client library for the Europeana APIs for Search, Annotations and Entities.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-api-client-ruby","forks_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/forks","keys_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/events","assignees_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/merges","archive_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-api-client-ruby/deployments","created_at":"2015-09-17T14:37:49Z","updated_at":"2017-01-15T11:13:25Z","pushed_at":"2017-03-08T10:41:42Z","git_url":"git://github.com/europeana/europeana-api-client-ruby.git","ssh_url":"git@github.com:europeana/europeana-api-client-ruby.git","clone_url":"https://github.com/europeana/europeana-api-client-ruby.git","svn_url":"https://github.com/europeana/europeana-api-client-ruby","homepage":"https://rubygems.org/gems/europeana-api","size":235,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22"},"html":{"href":"https://github.com/europeana/europeana-api-client-ruby/pull/22"},"issue":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/22"},"comments":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/europeana/europeana-api-client-ruby/statuses/3d255a1573eafc9c175370e15d9eefbcf0eca17c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":22,"deletions":27,"changed_files":4}}
{"actor":{"display_login":"rwd"}}