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

command.rb « mattermost « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33e450d7f0a99dc8b390936a3f781578a7079da0 (plain)
1
2
3
4
5
6
7
8
9
10
module Mattermost
  class Command < Client
    def create(params)
      response = session_post("/api/v3/teams/#{params[:team_id]}/commands/create",
        body: params.to_json)

      response['token']
    end
  end
end