owainlewis/digital-ocean — pull request #9 by behrica (2014-09-13 18:05:29+00:00)
Title: detecting 401 and return error

The get-for just did not check on errors coming from "request" method, but just extracted the resource from the map. In case of error this gave nil.