(maint) Update token status to not require password

This commit is contained in:
Brian Cain 2015-11-05 13:28:37 -08:00
parent 2beb36f53e
commit fa92da5c05
5 changed files with 9 additions and 8 deletions

View file

@ -37,13 +37,13 @@ class Auth
end
end
def self.token_status(verbose, url, user, password, token)
def self.token_status(verbose, url, token)
if token.nil?
STDERR.puts 'You did not provide a token'
exit 1
end
conn = Http.get_conn_with_auth(verbose, url, user, password)
conn = Http.get_conn(verbose, url)
response = conn.get "/token/#{token}"
res_body = JSON.parse(response.body)

View file

@ -1,6 +1,6 @@
class Version
@version = '0.2.13'
@version = '0.2.14'
def self.get
@version