jonathanj/txspinneret — pull request #12 by jonathanj (2014-09-04 13:00:10+00:00)
Title: Decorator for reducing the boilerplate required to produce a resource from router

The idea is something like:

```python
@routedResource
class User(object):
router = Router()
@router.route(...)
def foo(...):
return User(...) # Would have been User(...).router.resource()
```