Skip to content

Commit

Permalink
Rename post -> call_action_api
Browse files Browse the repository at this point in the history
More descriptive name
  • Loading branch information
Sean Hammond authored and tobes committed Nov 29, 2012
1 parent 3ea1816 commit 740a0d8
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 147 deletions.
4 changes: 2 additions & 2 deletions ckan/tests/__init__.py
Expand Up @@ -401,8 +401,8 @@ class StatusCodes:
STATUS_409_CONFLICT = 409


def post(app, action, apikey=None, status=200, **kwargs):
'''Post to the CKAN API and return the result.
def call_action_api(app, action, apikey=None, status=200, **kwargs):
'''POST an HTTP request to the CKAN API and return the result.
Any additional keyword arguments that you pass to this function as **kwargs
are posted as params to the API.
Expand Down

0 comments on commit 740a0d8

Please sign in to comment.