blob: 9e80f7f8571eae64836a460633e5ddd207dc724d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Mattermost
class Team < Client
# Returns **all** teams for an admin
def all
session_get('/api/v3/teams/all')
end
def create(params)
session_post('/api/v3/teams/create', body: params.to_json)
end
end
end
|