# File lib/oauth/cli.rb, line 335 def sufficient_options? case command # TODO move command logic elsewhere when "authorize" options[:oauth_consumer_key] && options[:oauth_consumer_secret] && options[:access_token_url] && options[:authorize_url] && options[:request_token_url] when "version" true else options[:oauth_consumer_key] && options[:oauth_consumer_secret] && options[:method] && options[:uri] end end