Skip to content

Commit

Permalink
Update ConfigurationError message to state that Symbol is allowed.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanKnox authored and sferik committed Jan 6, 2013
1 parent fc152db commit 884a706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter/configurable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 884a706

Please sign in to comment.