debian-mirror-gitlab/lib/mattermost/command.rb
2018-11-08 19:23:39 +05:30

11 lines
189 B
Ruby

module Mattermost
class Command < Client
def create(params)
response = session_post('/api/v4/commands',
body: params.to_json)
response['token']
end
end
end