From 884a706120dd431dceab7e52fbbba75172ead364 Mon Sep 17 00:00:00 2001 From: Dan Knox Date: Sat, 29 Dec 2012 22:34:16 -0800 Subject: [PATCH] Update ConfigurationError message to state that Symbol is allowed. --- lib/twitter/configurable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/twitter/configurable.rb b/lib/twitter/configurable.rb index 26e08dc91..9c642f390 100644 --- a/lib/twitter/configurable.rb +++ b/lib/twitter/configurable.rb @@ -77,7 +77,7 @@ def validate_credential_type! next if value.nil? unless value.is_a?(String) || value.is_a?(Symbol) - raise(Error::ConfigurationError, "Invalid #{credential} specified: #{value} must be a string.") + raise(Error::ConfigurationError, "Invalid #{credential} specified: #{value} must be a string or symbol.") end end end