{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12","id":32587772,"html_url":"https://github.com/HelloFax/hellosign-ruby-sdk/pull/12","diff_url":"https://github.com/HelloFax/hellosign-ruby-sdk/pull/12.diff","patch_url":"https://github.com/HelloFax/hellosign-ruby-sdk/pull/12.patch","issue_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/12","number":12,"state":"closed","locked":false,"title":"Handling of errors statuses not supported by sdk","user":{"login":"volodymyr-mykhailyk","id":712680,"avatar_url":"https://avatars.githubusercontent.com/u/712680?v=3","gravatar_id":"","url":"https://api.github.com/users/volodymyr-mykhailyk","html_url":"https://github.com/volodymyr-mykhailyk","followers_url":"https://api.github.com/users/volodymyr-mykhailyk/followers","following_url":"https://api.github.com/users/volodymyr-mykhailyk/following{/other_user}","gists_url":"https://api.github.com/users/volodymyr-mykhailyk/gists{/gist_id}","starred_url":"https://api.github.com/users/volodymyr-mykhailyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volodymyr-mykhailyk/subscriptions","organizations_url":"https://api.github.com/users/volodymyr-mykhailyk/orgs","repos_url":"https://api.github.com/users/volodymyr-mykhailyk/repos","events_url":"https://api.github.com/users/volodymyr-mykhailyk/events{/privacy}","received_events_url":"https://api.github.com/users/volodymyr-mykhailyk/received_events","type":"User","site_admin":false},"body":"When server returns 504 or any other status which is not hardcoded sdk throws exception:\nNoMethodError: undefined method `new' for nil:NilClass","created_at":"2015-04-03T13:09:40Z","updated_at":"2015-05-01T18:21:53Z","closed_at":"2015-05-01T18:21:53Z","merged_at":null,"merge_commit_sha":"1e4b79d2f01801db9b122e243cff451b2cc40f37","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12/commits","review_comments_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12/comments","review_comment_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/12/comments","statuses_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/statuses/fe6e5887321956e7a3c540892411c727c9997c6e","head":{"label":"volodymyr-mykhailyk:errors_handling","ref":"errors_handling","sha":"fe6e5887321956e7a3c540892411c727c9997c6e","user":{"login":"volodymyr-mykhailyk","id":712680,"avatar_url":"https://avatars.githubusercontent.com/u/712680?v=3","gravatar_id":"","url":"https://api.github.com/users/volodymyr-mykhailyk","html_url":"https://github.com/volodymyr-mykhailyk","followers_url":"https://api.github.com/users/volodymyr-mykhailyk/followers","following_url":"https://api.github.com/users/volodymyr-mykhailyk/following{/other_user}","gists_url":"https://api.github.com/users/volodymyr-mykhailyk/gists{/gist_id}","starred_url":"https://api.github.com/users/volodymyr-mykhailyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volodymyr-mykhailyk/subscriptions","organizations_url":"https://api.github.com/users/volodymyr-mykhailyk/orgs","repos_url":"https://api.github.com/users/volodymyr-mykhailyk/repos","events_url":"https://api.github.com/users/volodymyr-mykhailyk/events{/privacy}","received_events_url":"https://api.github.com/users/volodymyr-mykhailyk/received_events","type":"User","site_admin":false},"repo":{"id":33361674,"name":"hellosign-ruby-sdk","full_name":"volodymyr-mykhailyk/hellosign-ruby-sdk","owner":{"login":"volodymyr-mykhailyk","id":712680,"avatar_url":"https://avatars.githubusercontent.com/u/712680?v=3","gravatar_id":"","url":"https://api.github.com/users/volodymyr-mykhailyk","html_url":"https://github.com/volodymyr-mykhailyk","followers_url":"https://api.github.com/users/volodymyr-mykhailyk/followers","following_url":"https://api.github.com/users/volodymyr-mykhailyk/following{/other_user}","gists_url":"https://api.github.com/users/volodymyr-mykhailyk/gists{/gist_id}","starred_url":"https://api.github.com/users/volodymyr-mykhailyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volodymyr-mykhailyk/subscriptions","organizations_url":"https://api.github.com/users/volodymyr-mykhailyk/orgs","repos_url":"https://api.github.com/users/volodymyr-mykhailyk/repos","events_url":"https://api.github.com/users/volodymyr-mykhailyk/events{/privacy}","received_events_url":"https://api.github.com/users/volodymyr-mykhailyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/volodymyr-mykhailyk/hellosign-ruby-sdk","description":"A Ruby SDK for HelloSign's API","fork":true,"url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk","forks_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/forks","keys_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/teams","hooks_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/hooks","issue_events_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/events","assignees_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/tags","blobs_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/languages","stargazers_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/stargazers","contributors_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/contributors","subscribers_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/subscribers","subscription_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/subscription","commits_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/merges","archive_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/downloads","issues_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/labels{/name}","releases_url":"https://api.github.com/repos/volodymyr-mykhailyk/hellosign-ruby-sdk/releases{/id}","created_at":"2015-04-03T12:10:23Z","updated_at":"2015-04-03T12:10:24Z","pushed_at":"2015-04-03T13:09:39Z","git_url":"git://github.com/volodymyr-mykhailyk/hellosign-ruby-sdk.git","ssh_url":"git@github.com:volodymyr-mykhailyk/hellosign-ruby-sdk.git","clone_url":"https://github.com/volodymyr-mykhailyk/hellosign-ruby-sdk.git","svn_url":"https://github.com/volodymyr-mykhailyk/hellosign-ruby-sdk","homepage":null,"size":167,"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":"v3"}},"base":{"label":"HelloFax:v3","ref":"v3","sha":"d3452e003c9de36fded7ebc37636cb29d4e41e91","user":{"login":"HelloFax","id":584908,"avatar_url":"https://avatars.githubusercontent.com/u/584908?v=3","gravatar_id":"","url":"https://api.github.com/users/HelloFax","html_url":"https://github.com/HelloFax","followers_url":"https://api.github.com/users/HelloFax/followers","following_url":"https://api.github.com/users/HelloFax/following{/other_user}","gists_url":"https://api.github.com/users/HelloFax/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloFax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloFax/subscriptions","organizations_url":"https://api.github.com/users/HelloFax/orgs","repos_url":"https://api.github.com/users/HelloFax/repos","events_url":"https://api.github.com/users/HelloFax/events{/privacy}","received_events_url":"https://api.github.com/users/HelloFax/received_events","type":"Organization","site_admin":false},"repo":{"id":19326809,"name":"hellosign-ruby-sdk","full_name":"HelloFax/hellosign-ruby-sdk","owner":{"login":"HelloFax","id":584908,"avatar_url":"https://avatars.githubusercontent.com/u/584908?v=3","gravatar_id":"","url":"https://api.github.com/users/HelloFax","html_url":"https://github.com/HelloFax","followers_url":"https://api.github.com/users/HelloFax/followers","following_url":"https://api.github.com/users/HelloFax/following{/other_user}","gists_url":"https://api.github.com/users/HelloFax/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloFax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloFax/subscriptions","organizations_url":"https://api.github.com/users/HelloFax/orgs","repos_url":"https://api.github.com/users/HelloFax/repos","events_url":"https://api.github.com/users/HelloFax/events{/privacy}","received_events_url":"https://api.github.com/users/HelloFax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HelloFax/hellosign-ruby-sdk","description":"A Ruby SDK for HelloSign's API","fork":false,"url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk","forks_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/forks","keys_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/teams","hooks_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/hooks","issue_events_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/events","assignees_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/tags","blobs_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/languages","stargazers_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/stargazers","contributors_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/contributors","subscribers_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/subscribers","subscription_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/subscription","commits_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/merges","archive_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/downloads","issues_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/labels{/name}","releases_url":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/releases{/id}","created_at":"2014-04-30T20:49:31Z","updated_at":"2015-04-30T22:21:30Z","pushed_at":"2015-04-30T22:21:36Z","git_url":"git://github.com/HelloFax/hellosign-ruby-sdk.git","ssh_url":"git@github.com:HelloFax/hellosign-ruby-sdk.git","clone_url":"https://github.com/HelloFax/hellosign-ruby-sdk.git","svn_url":"https://github.com/HelloFax/hellosign-ruby-sdk","homepage":null,"size":516,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":11,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12"},"html":{"href":"https://github.com/HelloFax/hellosign-ruby-sdk/pull/12"},"issue":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/12"},"comments":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/HelloFax/hellosign-ruby-sdk/statuses/fe6e5887321956e7a3c540892411c727c9997c6e"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":33,"deletions":15,"changed_files":3}}