class Constancy::PassiveTokenSource
use env vars if defined, but otherwise just return an empty string
Public Instance Methods
consul_token()
click to toggle source
# File lib/constancy/token_source.rb, line 10 def consul_token ENV['CONSUL_HTTP_TOKEN'] || ENV['CONSUL_TOKEN'] || "" end
name()
click to toggle source
# File lib/constancy/token_source.rb, line 6 def name "none" end