Explicitly say .json so in error cases it doesnt show html response. Rescue from Unauthorized errors to give a more descriptive error message.
Test written to make sure we fail when socialcast raises a 401
Add ruby 2.0 to travis testing and forgot to include -f option after smoke testing
Now using Accept header rather than .json for API calls
remove format param since we are now using accept header
Moving :accept => :json to verb methods since that is where they actually work
Should all be either symbols or strings. I chose symbols
Merge pull request #18 from socialcast/explicit-json-better-error-message

explicit-json-better-error-message