Skip to content

Commit

Permalink
Mo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
diogobaeder committed Oct 30, 2013
1 parent bd9fb3c commit e504aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sptrans/v0.py
Expand Up @@ -270,7 +270,8 @@ def _get_json(self, endpoint, **kwargs):
def authenticate(self, token):
"""Authenticates to the webservice.
Accepts a single parameter, which is the API token string.
:param token: The API token string.
:type token: :class:`str`
"""
url = self._build_url('Login/Autenticar', token=token)
result = requests.post(url)
Expand Down

0 comments on commit e504aa5

Please sign in to comment.