Fixed https://github.com/nhmood/watson-ruby/pull/222