module Tr3llo::API::Token
Public Instance Methods
api_key()
click to toggle source
# File lib/3llo/api/token.rb, line 18 def api_key Application.fetch_configuration!().api_key end
api_token()
click to toggle source
# File lib/3llo/api/token.rb, line 22 def api_token Application.fetch_configuration!().api_token end
client()
click to toggle source
# File lib/3llo/api/token.rb, line 14 def client Application.fetch_client!() end
verify(key, token)
click to toggle source
# File lib/3llo/api/token.rb, line 6 def verify(key, token) client.get("/tokens/#{token}?key=#{key}", {}) true rescue RemoteServer::RequestError false end