Previously if a token wasn't set you'd get a cryptic error:
TypeError: no implicit conversion of nil into String
from /Users/harlow/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/monkeylearn-0.2/lib/monkeylearn/requests.rb:14:in `+'
from /Users/harlow/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/monkeylearn-0.2/lib/monkeylearn/requests.rb:14:in `block in request'
This PR gives the users a little more context as to why things are failing.
Previously if a token wasn't set you'd get a cryptic error:
This PR gives the users a little more context as to why things are failing.