Skip to content

Commit

Permalink
docs: fix links (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jan 26, 2022
1 parent 1686fde commit 3745058
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/py42/clients/trustedactivities.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, trusted_activities_service):

def get_all(self, type=None, page_size=None):
"""Gets all trusted activities.
`Rest documentation <https://developer.code42.com/api>`
`Rest documentation <https://developer.code42.com/api>`__
Args:
type (str, optional): Type of the trusted activity. Defaults to None. Constants available at :class:`py42.constants.TrustedActivityType`.
Expand All @@ -37,7 +37,7 @@ def get_all(self, type=None, page_size=None):

def create(self, type, value, description=None):
"""Gets all trusted activities with the given type.
`Rest documentation <https://developer.code42.com/api>`
`Rest documentation <https://developer.code42.com/api>`__
Args:
type (str): Type of the trusted activity. Defaults to None. Constants available at :class:`py42.constants.TrustedActivityType`.
Expand All @@ -51,7 +51,7 @@ def create(self, type, value, description=None):

def get(self, id):
"""Retrieve trusted activity details by given resource number.
`Rest documentation <https://developer.code42.com/api>`
`Rest documentation <https://developer.code42.com/api>`__
Args:
id (int): Resource number of the trusted activity or domain.
Expand All @@ -63,7 +63,7 @@ def get(self, id):

def update(self, id, value=None, description=None):
"""Updates trusted activity details by given resource number.
`Rest documentation <https://developer.code42.com/api>`
`Rest documentation <https://developer.code42.com/api>`__
Args:
id (int): Resource number of the trusted activity.
Expand All @@ -79,7 +79,7 @@ def update(self, id, value=None, description=None):

def delete(self, id):
"""Deletes a trusted activity by given resource number.
`Rest documentation <https://developer.code42.com/api>`
`Rest documentation <https://developer.code42.com/api>`__
Args:
id (int): Resource number of the trusted activity or domain.
Expand Down

0 comments on commit 3745058

Please sign in to comment.