{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28","id":34730811,"html_url":"https://github.com/EasyPost/easypost-ruby/pull/28","diff_url":"https://github.com/EasyPost/easypost-ruby/pull/28.diff","patch_url":"https://github.com/EasyPost/easypost-ruby/pull/28.patch","issue_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28","number":28,"state":"open","locked":false,"title":"Fix issue with undefined method `fetch' for #<String:0x007faa8819aca0>","user":{"login":"we4tech","id":4054,"avatar_url":"https://avatars.githubusercontent.com/u/4054?v=3","gravatar_id":"","url":"https://api.github.com/users/we4tech","html_url":"https://github.com/we4tech","followers_url":"https://api.github.com/users/we4tech/followers","following_url":"https://api.github.com/users/we4tech/following{/other_user}","gists_url":"https://api.github.com/users/we4tech/gists{/gist_id}","starred_url":"https://api.github.com/users/we4tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we4tech/subscriptions","organizations_url":"https://api.github.com/users/we4tech/orgs","repos_url":"https://api.github.com/users/we4tech/repos","events_url":"https://api.github.com/users/we4tech/events{/privacy}","received_events_url":"https://api.github.com/users/we4tech/received_events","type":"User","site_admin":false},"body":"### Handle error message when server returns string message instead of Hash - \r\n`{:error=>\"Missing or invalid element: FromPhone. Error encountered (Log ID: 29535)\"}`\r\n\r\n1. This PR added test coverage for invalid `fromPhone` related error\r\n2. Added required changes to handle the string error message.","created_at":"2015-05-05T14:40:47Z","updated_at":"2015-05-05T14:40:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28/commits","review_comments_url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28/comments","review_comment_url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28/comments","statuses_url":"https://api.github.com/repos/EasyPost/easypost-ruby/statuses/82b778fffb2b984561b53e2b90011731783044a2","head":{"label":"we4tech:bugs/with_string_error_message","ref":"bugs/with_string_error_message","sha":"82b778fffb2b984561b53e2b90011731783044a2","user":{"login":"we4tech","id":4054,"avatar_url":"https://avatars.githubusercontent.com/u/4054?v=3","gravatar_id":"","url":"https://api.github.com/users/we4tech","html_url":"https://github.com/we4tech","followers_url":"https://api.github.com/users/we4tech/followers","following_url":"https://api.github.com/users/we4tech/following{/other_user}","gists_url":"https://api.github.com/users/we4tech/gists{/gist_id}","starred_url":"https://api.github.com/users/we4tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we4tech/subscriptions","organizations_url":"https://api.github.com/users/we4tech/orgs","repos_url":"https://api.github.com/users/we4tech/repos","events_url":"https://api.github.com/users/we4tech/events{/privacy}","received_events_url":"https://api.github.com/users/we4tech/received_events","type":"User","site_admin":false},"repo":{"id":35105104,"name":"easypost-ruby","full_name":"we4tech/easypost-ruby","owner":{"login":"we4tech","id":4054,"avatar_url":"https://avatars.githubusercontent.com/u/4054?v=3","gravatar_id":"","url":"https://api.github.com/users/we4tech","html_url":"https://github.com/we4tech","followers_url":"https://api.github.com/users/we4tech/followers","following_url":"https://api.github.com/users/we4tech/following{/other_user}","gists_url":"https://api.github.com/users/we4tech/gists{/gist_id}","starred_url":"https://api.github.com/users/we4tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we4tech/subscriptions","organizations_url":"https://api.github.com/users/we4tech/orgs","repos_url":"https://api.github.com/users/we4tech/repos","events_url":"https://api.github.com/users/we4tech/events{/privacy}","received_events_url":"https://api.github.com/users/we4tech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/we4tech/easypost-ruby","description":"EasyPost Shipping API Client Library for Ruby","fork":true,"url":"https://api.github.com/repos/we4tech/easypost-ruby","forks_url":"https://api.github.com/repos/we4tech/easypost-ruby/forks","keys_url":"https://api.github.com/repos/we4tech/easypost-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/we4tech/easypost-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/we4tech/easypost-ruby/teams","hooks_url":"https://api.github.com/repos/we4tech/easypost-ruby/hooks","issue_events_url":"https://api.github.com/repos/we4tech/easypost-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/we4tech/easypost-ruby/events","assignees_url":"https://api.github.com/repos/we4tech/easypost-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/we4tech/easypost-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/we4tech/easypost-ruby/tags","blobs_url":"https://api.github.com/repos/we4tech/easypost-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/we4tech/easypost-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/we4tech/easypost-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/we4tech/easypost-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/we4tech/easypost-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/we4tech/easypost-ruby/languages","stargazers_url":"https://api.github.com/repos/we4tech/easypost-ruby/stargazers","contributors_url":"https://api.github.com/repos/we4tech/easypost-ruby/contributors","subscribers_url":"https://api.github.com/repos/we4tech/easypost-ruby/subscribers","subscription_url":"https://api.github.com/repos/we4tech/easypost-ruby/subscription","commits_url":"https://api.github.com/repos/we4tech/easypost-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/we4tech/easypost-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/we4tech/easypost-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/we4tech/easypost-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/we4tech/easypost-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/we4tech/easypost-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/we4tech/easypost-ruby/merges","archive_url":"https://api.github.com/repos/we4tech/easypost-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/we4tech/easypost-ruby/downloads","issues_url":"https://api.github.com/repos/we4tech/easypost-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/we4tech/easypost-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/we4tech/easypost-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/we4tech/easypost-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/we4tech/easypost-ruby/labels{/name}","releases_url":"https://api.github.com/repos/we4tech/easypost-ruby/releases{/id}","created_at":"2015-05-05T14:35:07Z","updated_at":"2015-05-05T14:35:08Z","pushed_at":"2015-05-05T14:35:56Z","git_url":"git://github.com/we4tech/easypost-ruby.git","ssh_url":"git@github.com:we4tech/easypost-ruby.git","clone_url":"https://github.com/we4tech/easypost-ruby.git","svn_url":"https://github.com/we4tech/easypost-ruby","homepage":"https://easypost.com/docs","size":514,"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":"master"}},"base":{"label":"EasyPost:master","ref":"master","sha":"53ce50d9be300e99bc75a081f48c6f4a82aef9d7","user":{"login":"EasyPost","id":2636464,"avatar_url":"https://avatars.githubusercontent.com/u/2636464?v=3","gravatar_id":"","url":"https://api.github.com/users/EasyPost","html_url":"https://github.com/EasyPost","followers_url":"https://api.github.com/users/EasyPost/followers","following_url":"https://api.github.com/users/EasyPost/following{/other_user}","gists_url":"https://api.github.com/users/EasyPost/gists{/gist_id}","starred_url":"https://api.github.com/users/EasyPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasyPost/subscriptions","organizations_url":"https://api.github.com/users/EasyPost/orgs","repos_url":"https://api.github.com/users/EasyPost/repos","events_url":"https://api.github.com/users/EasyPost/events{/privacy}","received_events_url":"https://api.github.com/users/EasyPost/received_events","type":"Organization","site_admin":false},"repo":{"id":9666394,"name":"easypost-ruby","full_name":"EasyPost/easypost-ruby","owner":{"login":"EasyPost","id":2636464,"avatar_url":"https://avatars.githubusercontent.com/u/2636464?v=3","gravatar_id":"","url":"https://api.github.com/users/EasyPost","html_url":"https://github.com/EasyPost","followers_url":"https://api.github.com/users/EasyPost/followers","following_url":"https://api.github.com/users/EasyPost/following{/other_user}","gists_url":"https://api.github.com/users/EasyPost/gists{/gist_id}","starred_url":"https://api.github.com/users/EasyPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasyPost/subscriptions","organizations_url":"https://api.github.com/users/EasyPost/orgs","repos_url":"https://api.github.com/users/EasyPost/repos","events_url":"https://api.github.com/users/EasyPost/events{/privacy}","received_events_url":"https://api.github.com/users/EasyPost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EasyPost/easypost-ruby","description":"EasyPost Shipping API Client Library for Ruby","fork":false,"url":"https://api.github.com/repos/EasyPost/easypost-ruby","forks_url":"https://api.github.com/repos/EasyPost/easypost-ruby/forks","keys_url":"https://api.github.com/repos/EasyPost/easypost-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EasyPost/easypost-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EasyPost/easypost-ruby/teams","hooks_url":"https://api.github.com/repos/EasyPost/easypost-ruby/hooks","issue_events_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/EasyPost/easypost-ruby/events","assignees_url":"https://api.github.com/repos/EasyPost/easypost-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/EasyPost/easypost-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/EasyPost/easypost-ruby/tags","blobs_url":"https://api.github.com/repos/EasyPost/easypost-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EasyPost/easypost-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EasyPost/easypost-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/EasyPost/easypost-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EasyPost/easypost-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/EasyPost/easypost-ruby/languages","stargazers_url":"https://api.github.com/repos/EasyPost/easypost-ruby/stargazers","contributors_url":"https://api.github.com/repos/EasyPost/easypost-ruby/contributors","subscribers_url":"https://api.github.com/repos/EasyPost/easypost-ruby/subscribers","subscription_url":"https://api.github.com/repos/EasyPost/easypost-ruby/subscription","commits_url":"https://api.github.com/repos/EasyPost/easypost-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/EasyPost/easypost-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/EasyPost/easypost-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/EasyPost/easypost-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/EasyPost/easypost-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EasyPost/easypost-ruby/merges","archive_url":"https://api.github.com/repos/EasyPost/easypost-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EasyPost/easypost-ruby/downloads","issues_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/EasyPost/easypost-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/EasyPost/easypost-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EasyPost/easypost-ruby/labels{/name}","releases_url":"https://api.github.com/repos/EasyPost/easypost-ruby/releases{/id}","created_at":"2013-04-25T07:43:55Z","updated_at":"2015-04-30T18:25:41Z","pushed_at":"2015-04-30T18:25:41Z","git_url":"git://github.com/EasyPost/easypost-ruby.git","ssh_url":"git@github.com:EasyPost/easypost-ruby.git","clone_url":"https://github.com/EasyPost/easypost-ruby.git","svn_url":"https://github.com/EasyPost/easypost-ruby","homepage":"https://easypost.com/docs","size":514,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":1,"forks":19,"open_issues":1,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28"},"html":{"href":"https://github.com/EasyPost/easypost-ruby/pull/28"},"issue":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28"},"comments":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/EasyPost/easypost-ruby/statuses/82b778fffb2b984561b53e2b90011731783044a2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":47,"deletions":27,"changed_files":2}}