Netflix/denominator — pull request #240 by everett-toews (2013-08-29 04:18:37+00:00)
Title: Straw-man PR to discuss code.

Here's a bit of code for discussion for doing a PUT to Cloud DNS. I didn't use an encoder/decoder since that seemed more complex than what I really needed and they're being deprecated anyway.

The @Body works fine for createRecord but right now it doesn't cover the concept of priority. The priority is required for MX and SRV records, but forbidden for other record types [1]. So it needs to be nullable. What's the simplest way to handle this in feign without encoder/decoder? Or would these fall under the category of "those w/ Object type param"?

[1] http://docs.rackspace.com/cdns/api/v1.0/cdns-devguide/content/Add_Records-d1e4895.html