lib/mattermost.rb in mattermost-api4-ruby-0.0.1 vs lib/mattermost.rb in mattermost-api4-ruby-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
require_relative 'mattermost/client'
module Mattermost
- def new_client(server)
+ def self.new_client(server)
Mattermost::Client.new server
end
end