{"action":"created","issue":{"url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28","labels_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28/comments","events_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28/events","html_url":"https://github.com/EasyPost/easypost-ruby/pull/28","id":73333974,"number":28,"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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-05T14:40:47Z","updated_at":"2015-06-22T23:00:11Z","closed_at":"2015-06-22T23:00:11Z","pull_request":{"url":"https://api.github.com/repos/EasyPost/easypost-ruby/pulls/28","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"},"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."},"comment":{"url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/comments/114294946","html_url":"https://github.com/EasyPost/easypost-ruby/pull/28#issuecomment-114294946","issue_url":"https://api.github.com/repos/EasyPost/easypost-ruby/issues/28","id":114294946,"user":{"login":"att14","id":780132,"avatar_url":"https://avatars.githubusercontent.com/u/780132?v=3","gravatar_id":"","url":"https://api.github.com/users/att14","html_url":"https://github.com/att14","followers_url":"https://api.github.com/users/att14/followers","following_url":"https://api.github.com/users/att14/following{/other_user}","gists_url":"https://api.github.com/users/att14/gists{/gist_id}","starred_url":"https://api.github.com/users/att14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/att14/subscriptions","organizations_url":"https://api.github.com/users/att14/orgs","repos_url":"https://api.github.com/users/att14/repos","events_url":"https://api.github.com/users/att14/events{/privacy}","received_events_url":"https://api.github.com/users/att14/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:00:11Z","updated_at":"2015-06-22T23:00:11Z","body":"I just released a server side change that should remove any errors that were causing this to fail. Please reopen if you see anything unusual."}}