failure? and success? methods on text-response.rb