Completed
Pull Request — master (#570)
by Anthony
02:27
created

ListUsersInGroupAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
from lib.actions import YammerAction
2
3
__all__ = [
4
    'ListUsersInGroupAction'
5
]
6
7
8
class ListUsersInGroupAction(YammerAction):
9
    def run(self, group_id, page=None):
10
        yammer = self.authenticate()
11
        users = yammer.users.in_group(group_id, page=page)
12
        return users
13