Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-08-27 15:35:31 +0300
committerJacopo <beschi.jacopo@gmail.com>2018-08-29 17:56:34 +0300
commitc6bddeacf4775b79edc9896f30da3c1f4136d4d1 (patch)
tree453164aca2281f6899f313f408b0fb37b98c3cdd /lib/gitlab/github_import
parent8af40870e2208612a5af34e19f231032745a7f90 (diff)
Updates code using class_methods over module ClassMethods
Diffstat (limited to 'lib/gitlab/github_import')
-rw-r--r--lib/gitlab/github_import/representation/expose_attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/representation/expose_attribute.rb b/lib/gitlab/github_import/representation/expose_attribute.rb
index c3405759631..d2438ee8094 100644
--- a/lib/gitlab/github_import/representation/expose_attribute.rb
+++ b/lib/gitlab/github_import/representation/expose_attribute.rb
@@ -6,7 +6,7 @@ module Gitlab
module ExposeAttribute
extend ActiveSupport::Concern
- module ClassMethods
+ class_methods do
# Defines getter methods for the given attribute names.
#
# Example: