Welcome to mirror list, hosted at ThFree Co, Russian Federation.

team.rb « mattermost « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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