rename&remove redundant code

This commit is contained in:
Anton Zhyrney
2016-11-26 08:45:08 +02:00
parent da4567eea5
commit 1eea1f5485
2 changed files with 20 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
from .exceptions import InvalidUsage
class MethodView:
class HTTPMethodView:
""" Simple class based implementation of view for the sanic.
You should implement methods(get, post, put, patch, delete) for the class
to every HTTP method you want to support.