• 
      

    Add the resource_mimetype decorator for client API resource classes

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

    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.

    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          rbtools/api/resource.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          rbtools/api/resource.py
      
      
    2. 
        
    david
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (05d3aa4)