# File lib/rhc/auth/token.rb, line 3 def initialize(opt, auth=nil, store=nil) if opt.is_a?(String) @token = opt else @options = opt || Commander::Command::Options.new @token = options[:token] @no_interactive = options[:noprompt] @allows_tokens = options[:use_authorization_tokens] end @auth = auth @store = store read_token end