Permalink
Browse files

Update ConfigurationError message to state that Symbol is allowed.

  • Loading branch information...
1 parent fc152db commit 884a706120dd431dceab7e52fbbba75172ead364 @DanKnox DanKnox committed with Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 884a706

Please sign in to comment.