summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 14:23:18 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 14:23:18 +0200
commit135be3cabb01ca3c825829f18ede4e8720383d7b (patch)
treefbb3417a52aaab5a6dbb78650aaa323892eb738b /lib
parentdc2968546500af4ea17dd23f851f00e002290bcc (diff)
downloadgitlab-ce-135be3cabb01ca3c825829f18ede4e8720383d7b.tar.gz
Solve code review comments
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/auth/result.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/result.rb b/lib/gitlab/auth/result.rb
index 3ec5765b6b0..bf625649cbf 100644
--- a/lib/gitlab/auth/result.rb
+++ b/lib/gitlab/auth/result.rb
@@ -1,6 +1,6 @@
module Gitlab
module Auth
- class Result < Struct.new(:actor, :project, :type, :authentication_abilities)
+ Result = Struct.new(:actor, :project, :type, :authentication_abilities) do
def ci?
type == :ci
end