{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48","id":68227741,"html_url":"https://github.com/shiftcommerce/flex-ruby-gem/pull/48","diff_url":"https://github.com/shiftcommerce/flex-ruby-gem/pull/48.diff","patch_url":"https://github.com/shiftcommerce/flex-ruby-gem/pull/48.patch","issue_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/48","number":48,"state":"open","locked":false,"title":"Fix for when fastly errors are returned","user":{"login":"mufudzi-masaire","id":4486874,"avatar_url":"https://avatars.githubusercontent.com/u/4486874?v=3","gravatar_id":"","url":"https://api.github.com/users/mufudzi-masaire","html_url":"https://github.com/mufudzi-masaire","followers_url":"https://api.github.com/users/mufudzi-masaire/followers","following_url":"https://api.github.com/users/mufudzi-masaire/following{/other_user}","gists_url":"https://api.github.com/users/mufudzi-masaire/gists{/gist_id}","starred_url":"https://api.github.com/users/mufudzi-masaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mufudzi-masaire/subscriptions","organizations_url":"https://api.github.com/users/mufudzi-masaire/orgs","repos_url":"https://api.github.com/users/mufudzi-masaire/repos","events_url":"https://api.github.com/users/mufudzi-masaire/events{/privacy}","received_events_url":"https://api.github.com/users/mufudzi-masaire/received_events","type":"User","site_admin":false},"body":"PR resolves - \r\n\r\n<img width=\"1132\" alt=\"screen shot 2016-04-28 at 12 16 15\" src=\"https://cloud.githubusercontent.com/assets/4486874/14888750/a8ccb6cc-0d53-11e6-98d3-f85769a74f82.png\">\r\n\r\nWhen there is a fastly error, the `body` is a `String`, which is causing the above F/E issue","created_at":"2016-04-28T14:15:32Z","updated_at":"2016-04-28T14:15:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3ee1fe362a51734e2ab47506ed8d68e2743f644","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48/commits","review_comments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48/comments","review_comment_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/48/comments","statuses_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/statuses/cf09cdf523b15e5a56151cc0ce9fa63091609ae6","head":{"label":"shiftcommerce:hotfix/detailed_server_errors","ref":"hotfix/detailed_server_errors","sha":"cf09cdf523b15e5a56151cc0ce9fa63091609ae6","user":{"login":"shiftcommerce","id":12172748,"avatar_url":"https://avatars.githubusercontent.com/u/12172748?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftcommerce","html_url":"https://github.com/shiftcommerce","followers_url":"https://api.github.com/users/shiftcommerce/followers","following_url":"https://api.github.com/users/shiftcommerce/following{/other_user}","gists_url":"https://api.github.com/users/shiftcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftcommerce/subscriptions","organizations_url":"https://api.github.com/users/shiftcommerce/orgs","repos_url":"https://api.github.com/users/shiftcommerce/repos","events_url":"https://api.github.com/users/shiftcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/shiftcommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":38695076,"name":"flex-ruby-gem","full_name":"shiftcommerce/flex-ruby-gem","owner":{"login":"shiftcommerce","id":12172748,"avatar_url":"https://avatars.githubusercontent.com/u/12172748?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftcommerce","html_url":"https://github.com/shiftcommerce","followers_url":"https://api.github.com/users/shiftcommerce/followers","following_url":"https://api.github.com/users/shiftcommerce/following{/other_user}","gists_url":"https://api.github.com/users/shiftcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftcommerce/subscriptions","organizations_url":"https://api.github.com/users/shiftcommerce/orgs","repos_url":"https://api.github.com/users/shiftcommerce/repos","events_url":"https://api.github.com/users/shiftcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/shiftcommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shiftcommerce/flex-ruby-gem","description":"The Ruby library used to integrate with the Flex Platform API","fork":false,"url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem","forks_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/forks","keys_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/teams","hooks_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/hooks","issue_events_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/events{/number}","events_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/events","assignees_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/assignees{/user}","branches_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/branches{/branch}","tags_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/tags","blobs_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/languages","stargazers_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/stargazers","contributors_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/contributors","subscribers_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/subscribers","subscription_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/subscription","commits_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/comments{/number}","contents_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/contents/{+path}","compare_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/merges","archive_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/downloads","issues_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues{/number}","pulls_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/labels{/name}","releases_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/releases{/id}","deployments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/deployments","created_at":"2015-07-07T15:01:04Z","updated_at":"2016-04-28T13:24:39Z","pushed_at":"2016-04-28T14:15:32Z","git_url":"git://github.com/shiftcommerce/flex-ruby-gem.git","ssh_url":"git@github.com:shiftcommerce/flex-ruby-gem.git","clone_url":"https://github.com/shiftcommerce/flex-ruby-gem.git","svn_url":"https://github.com/shiftcommerce/flex-ruby-gem","homepage":"","size":287,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"shiftcommerce:master","ref":"master","sha":"db077e1267fdc5223a48658433f9ad13062a4522","user":{"login":"shiftcommerce","id":12172748,"avatar_url":"https://avatars.githubusercontent.com/u/12172748?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftcommerce","html_url":"https://github.com/shiftcommerce","followers_url":"https://api.github.com/users/shiftcommerce/followers","following_url":"https://api.github.com/users/shiftcommerce/following{/other_user}","gists_url":"https://api.github.com/users/shiftcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftcommerce/subscriptions","organizations_url":"https://api.github.com/users/shiftcommerce/orgs","repos_url":"https://api.github.com/users/shiftcommerce/repos","events_url":"https://api.github.com/users/shiftcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/shiftcommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":38695076,"name":"flex-ruby-gem","full_name":"shiftcommerce/flex-ruby-gem","owner":{"login":"shiftcommerce","id":12172748,"avatar_url":"https://avatars.githubusercontent.com/u/12172748?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftcommerce","html_url":"https://github.com/shiftcommerce","followers_url":"https://api.github.com/users/shiftcommerce/followers","following_url":"https://api.github.com/users/shiftcommerce/following{/other_user}","gists_url":"https://api.github.com/users/shiftcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftcommerce/subscriptions","organizations_url":"https://api.github.com/users/shiftcommerce/orgs","repos_url":"https://api.github.com/users/shiftcommerce/repos","events_url":"https://api.github.com/users/shiftcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/shiftcommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shiftcommerce/flex-ruby-gem","description":"The Ruby library used to integrate with the Flex Platform API","fork":false,"url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem","forks_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/forks","keys_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/teams","hooks_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/hooks","issue_events_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/events{/number}","events_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/events","assignees_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/assignees{/user}","branches_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/branches{/branch}","tags_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/tags","blobs_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/languages","stargazers_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/stargazers","contributors_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/contributors","subscribers_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/subscribers","subscription_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/subscription","commits_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/comments{/number}","contents_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/contents/{+path}","compare_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/merges","archive_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/downloads","issues_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues{/number}","pulls_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/labels{/name}","releases_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/releases{/id}","deployments_url":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/deployments","created_at":"2015-07-07T15:01:04Z","updated_at":"2016-04-28T13:24:39Z","pushed_at":"2016-04-28T14:15:32Z","git_url":"git://github.com/shiftcommerce/flex-ruby-gem.git","ssh_url":"git@github.com:shiftcommerce/flex-ruby-gem.git","clone_url":"https://github.com/shiftcommerce/flex-ruby-gem.git","svn_url":"https://github.com/shiftcommerce/flex-ruby-gem","homepage":"","size":287,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48"},"html":{"href":"https://github.com/shiftcommerce/flex-ruby-gem/pull/48"},"issue":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/48"},"comments":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/shiftcommerce/flex-ruby-gem/statuses/cf09cdf523b15e5a56151cc0ce9fa63091609ae6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":1}}