Add the resource_mimetype decorator for client API resource classes

Review Request #7003 — Created March 3, 2015 and submitted — Latest diff uploaded

Information

RBTools
master
5e62688...

Reviewers

The resource_mimetype decorator is added to reduce the repetition in
the client API resources code. Each client resource needs to specify a
mimetype to the resource map so that we can match responses to resource
classes. This was traditionally done by just updating the resource map
by hand. The new decorator takes a mimetype and updates the resource
map with the decorated class.

Ran unit tests.

Posted this review request with rbt post.

Able to run rbt commands.