module Mattermost::Endpoint::Plugins
Public Instance Methods
activate_plugin(plugin_id)
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 20 def activate_plugin(plugin_id) post("/plugins/#{plugin_id}/activate") end
deactivate_plugin(plugin_id)
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 24 def deactivate_plugin(plugin_id) post("/plugins/#{plugin_id}/deactivate") end
get_plugins()
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 12 def get_plugins get("/plugins") end
get_webapp_plugins()
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 28 def get_webapp_plugins get("/plugins/webapp") end
remove_plugin(plugin_id)
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 16 def remove_plugin(plugin_id) delete("/plugins/#{plugin_id}") end
upload_plugin(plugin)
click to toggle source
# File lib/mattermost/endpoint/plugins.rb, line 7 def upload_plugin(plugin) #post("/pkugins", plugin) raise NotImplementedError end