for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from lib.actions import YammerAction
__all__ = [
'ListPrivateMessagesAction'
]
class ListPrivateMessagesAction(YammerAction):
def run(self, older_than_message=None,
newer_than_message=None, limit=None):
yammer = self.authenticate()
messages = yammer.messages.private(
older_than=older_than_message,
newer_than=newer_than_message,
limit=limit)
return messages