Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update ConfigurationError message to state that Symbol is allowed.

  • Loading branch information...
commit 884a706120dd431dceab7e52fbbba75172ead364 1 parent fc152db
@DanKnox DanKnox authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/twitter/configurable.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.