Files
pillar-python-sdk/pillarsdk/activities.py
Francesco Siddi ae59249196 Introducing Notifications
Currently we make use of the Notification and Activity objects to pull
the relevant information. In the future only Notification will be
needed.
2016-03-05 23:18:04 +01:00

17 lines
381 B
Python

from .resource import List
from .resource import Find
from .resource import Update
from .resource import Create
class Activity(List, Find):
"""Activities class wrapping the REST activities endpoint
"""
path = "activities"
class Notification(List, Find, Update):
"""Notifications class wrapping the REST notifications endpoint
"""
path = "notifications"