blob: a02745486d6470e421d28a044b2e8553384e6d2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
module Mattermost
class Command < Client
def create(params)
response = session_post('/api/v4/commands',
body: params.to_json)
response['token']
end
end
end
|