Skip to content
This repository
Browse code

Update ConfigurationError message to state that Symbol is allowed.

  • Loading branch information...
commit 884a706120dd431dceab7e52fbbba75172ead364 1 parent fc152db
Dan Knox DanKnox authored committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/twitter/configurable.rb
2  lib/twitter/configurable.rb
@@ -77,7 +77,7 @@ def validate_credential_type!
77 77 next if value.nil?
78 78
79 79 unless value.is_a?(String) || value.is_a?(Symbol)
80   - raise(Error::ConfigurationError, "Invalid #{credential} specified: #{value} must be a string.")
  80 + raise(Error::ConfigurationError, "Invalid #{credential} specified: #{value} must be a string or symbol.")
81 81 end
82 82 end
83 83 end

0 comments on commit 884a706

Please sign in to comment.
Something went wrong with that request. Please try again.