diff options
| author | Sean McGivern <sean@gitlab.com> | 2017-03-01 11:00:37 +0000 |
|---|---|---|
| committer | Sean McGivern <sean@gitlab.com> | 2017-03-01 15:28:10 +0000 |
| commit | 811e598f607235d89e71d09d99538ee4dee3ffed (patch) | |
| tree | 7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/mattermost/session.rb | |
| parent | 8dd097a91530e4b047c4b391f21047c7d29d310d (diff) | |
| download | gitlab-ce-811e598f607235d89e71d09d99538ee4dee3ffed.tar.gz | |
Enable and autocorrect the CustomErrorClass cop
Diffstat (limited to 'lib/mattermost/session.rb')
| -rw-r--r-- | lib/mattermost/session.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/session.rb b/lib/mattermost/session.rb index 377cb7b1021..5388966605d 100644 --- a/lib/mattermost/session.rb +++ b/lib/mattermost/session.rb @@ -5,7 +5,7 @@ module Mattermost end end - class ConnectionError < Mattermost::Error; end + ConnectionError = Class.new(Mattermost::Error) # This class' prime objective is to obtain a session token on a Mattermost # instance with SSO configured where this GitLab instance is the provider. |
