Skip to content

Commit

Permalink
udpate readme
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Jun 18, 2015
1 parent 5fd00f3 commit 17bd1e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Features:
through `OPTIONS` requests
* painless validation
* 100% tests coverage
* falcon>=0.3.0
* python3 exclusive!


Expand All @@ -38,7 +39,7 @@ from graceful.fields import IntField, RawField
from graceful.parameters import StringParam
from graceful.resources.generic import (
RetrieveAPI,
ListAPI,
PaginatedListAPI,
)

api = application = falcon.API()
Expand All @@ -58,7 +59,7 @@ class CatSerializer(BaseSerializer):
breed = RawField("official breed name")


class Cat(RetrieveUpdateDeleteAPI):
class Cat(RetrieveAPI):
"""
Single cat identified by its id
"""
Expand All @@ -77,7 +78,7 @@ class Cat(RetrieveUpdateDeleteAPI):
cat_id = kwargs['cat_id']
return self.get_cat(cat_id)

class CatList(PaginatedListCreateAPI):
class CatList(PaginatedListAPI):
"""
List of all cats in our API
"""
Expand Down

0 comments on commit 17bd1e0

Please sign in to comment.