Module: Mattermost

Defined in:
lib/mattermost.rb,
lib/mattermost/client.rb,
lib/mattermost/request.rb,
lib/mattermost/endpoint.rb,
lib/mattermost/endpoint/jobs.rb,
lib/mattermost/endpoint/ldap.rb,
lib/mattermost/endpoint/saml.rb,
lib/mattermost/endpoint/brand.rb,
lib/mattermost/endpoint/emoji.rb,
lib/mattermost/endpoint/files.rb,
lib/mattermost/endpoint/oauth.rb,
lib/mattermost/endpoint/posts.rb,
lib/mattermost/endpoint/teams.rb,
lib/mattermost/endpoint/users.rb,
lib/mattermost/endpoint/status.rb,
lib/mattermost/endpoint/system.rb,
lib/mattermost/endpoint/cluster.rb,
lib/mattermost/endpoint/plugins.rb,
lib/mattermost/websocket_client.rb,
lib/mattermost/endpoint/channels.rb,
lib/mattermost/endpoint/commands.rb,
lib/mattermost/endpoint/webhooks.rb,
lib/mattermost/endpoint/reactions.rb,
lib/mattermost/endpoint/compliance.rb,
lib/mattermost/endpoint/open_graph.rb,
lib/mattermost/endpoint/preferences.rb,
lib/mattermost/endpoint/elasticsearch.rb,
lib/mattermost/endpoint/data_retention.rb

Defined Under Namespace

Modules: Endpoint, Request Classes: Client, WebSocketClient

Class Method Summary collapse

Class Method Details

.new_client(server) ⇒ Object



5
6
7
# File 'lib/mattermost.rb', line 5

def self.new_client(server)
	Mattermost::Client.new server
end