(#14) Remove printing in auth library

This commit is contained in:
Brian Cain 2015-11-15 13:27:07 -08:00
parent 544d9d35b8
commit 3394a14ea0
3 changed files with 9 additions and 6 deletions

View file

@ -29,7 +29,7 @@ class Auth
response = conn.delete "/token/#{token}"
res_body = JSON.parse(response.body)
if res_body["ok"]
puts res_body
return res_body
else
STDERR.puts "There was a problem with your request:"
puts res_body
@ -49,7 +49,7 @@ class Auth
res_body = JSON.parse(response.body)
if res_body["ok"]
res_body
return res_body
else
STDERR.puts "There was a problem with your request:"
puts res_body