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: 704813dfdf0dd3695fc117a73e0f5d49e77e0e7b (plain)
1
2
3
4
5
6
7
8
9
10
module Mattermost
  class Command < Client
    def create(params)
      response = session_post('/api/v4/commands',
        body: params.to_json)

      response['token']
    end
  end
end