gitlab-org--gitlab-foss/lib/mattermost/team.rb
Z.J. van de Weg f187cc59d6 Small update to the Mattermost API
These changes make it possible to wrap multiple API requests in one
session.
2017-01-24 11:30:47 +01:00

7 lines
109 B
Ruby

module Mattermost
class Team < Client
def all
session_get('/api/v3/teams/all')
end
end
end