adamhjk/dynect_rest — pull request #18 by jghward (2013-01-30 17:17:14+00:00)
Title: Fix for 'find' method

In the 'find' method, get(fqdn) is expected to return an Array, however if only one record is found it returns Dynect::Resource object (line 85-86 in resource.rb). In this case 'find' would throw a NoMethodError: undefined method `each' for DynectRest::Resource exception.

Thanks for writing this, it has been invaluable in helping me automate my infrastructure.