Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b02b3b14
Commit
b02b3b14
authored
Mar 13, 2020
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add source rule class inside super class
parent
46a27b3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
ee/lib/ee/api/entities/merge_request_approval_rule.rb
ee/lib/ee/api/entities/merge_request_approval_rule.rb
+4
-0
ee/lib/ee/api/entities/merge_request_approval_rule/source_rule.rb
...e/api/entities/merge_request_approval_rule/source_rule.rb
+0
-13
No files found.
ee/lib/ee/api/entities/merge_request_approval_rule.rb
View file @
b02b3b14
...
...
@@ -4,6 +4,10 @@ module EE
module
API
module
Entities
class
MergeRequestApprovalRule
<
ApprovalRule
class
SourceRule
<
Grape
::
Entity
expose
:approvals_required
end
expose
:source_rule
,
using:
MergeRequestApprovalRule
::
SourceRule
end
end
...
...
ee/lib/ee/api/entities/merge_request_approval_rule/source_rule.rb
deleted
100644 → 0
View file @
46a27b3f
# frozen_string_literal: true
module
EE
module
API
module
Entities
class
MergeRequestApprovalRule
<
ApprovalRule
class
SourceRule
<
Grape
::
Entity
expose
:approvals_required
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment