summaryrefslogtreecommitdiff
path: root/lib/gitlab/chat_name_token.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 23:10:27 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 23:10:27 +0100
commit6f714dfb4a9b823ab75508f252d06e19e286d5f2 (patch)
tree409569ad65f1982451d9eb9a5bb0eae078abf01a /lib/gitlab/chat_name_token.rb
parent2749e7a58285e59381a3e788983678d9cf633b45 (diff)
downloadgitlab-ce-6f714dfb4a9b823ab75508f252d06e19e286d5f2.tar.gz
Improve code design after code review
Diffstat (limited to 'lib/gitlab/chat_name_token.rb')
-rw-r--r--lib/gitlab/chat_name_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/chat_name_token.rb b/lib/gitlab/chat_name_token.rb
index 543f038a4d4..1b081aa9b1d 100644
--- a/lib/gitlab/chat_name_token.rb
+++ b/lib/gitlab/chat_name_token.rb
@@ -5,7 +5,7 @@ module Gitlab
attr_reader :token
TOKEN_LENGTH = 50
- EXPIRY_TIME = 10.minutes # 10 minutes
+ EXPIRY_TIME = 10.minutes
def initialize(token = new_token)
@token = token