adamhjk/dynect_rest — pull request #9 by daveespo (2012-02-20 21:27:49+00:00)
Title: Unable to Delete a record

The code to enumerate records in a zone does not compose the record_type instance variable properly when parsing the payload from the GET request

As a result, the resource URL for a record looks something like:

/REST/CNAME/myzone.com/bob.myzone.com/1234

Rather than

/REST/CNAMERecord/myzone.com/bob.myzone.com/1234

If you call .delete on the resource, it fails with an 'unknown resource' error

This fixes that