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
acdad5ec
Commit
acdad5ec
authored
Jan 14, 2020
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add entity and API skeleton
parent
dc6db392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
lib/api/entities/group_hook.rb
lib/api/entities/group_hook.rb
+9
-0
lib/api/group_hooks.rb
lib/api/group_hooks.rb
+10
-0
No files found.
lib/api/entities/group_hook.rb
0 → 100644
View file @
acdad5ec
# frozen_string_literal: true
module
API
module
Entities
module
GroupHook
<
Entities
::
Hook
expose
:group_id
end
end
end
\ No newline at end of file
lib/api/group_hooks.rb
0 → 100644
View file @
acdad5ec
module
API
class
GroupHooks
<
Grape
::
API
include
PaginationParams
before
{
authenticate!
}
before
{
authorize_admin_project
}
# TODO: API
end
end
\ No newline at end of file
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