careerbuilder / ruby-cb-api

Ruby wrapper around the CareerBuilder.com APIs
Apache License 2.0
14 stars 18 forks source link

Use `.first` and return emtpy string when no errors node #254

Closed ausmith closed 8 years ago

ausmith commented 8 years ago

This handles comments from https://github.com/careerbuilder/ruby-cb-api/pull/253 that included following our style guide more closely and returning the empty string when there is no errors node available in the error that we got back from the API.

Casao commented 8 years ago

:+1: