refactor projects API
This commit is contained in:
parent
0a6b64e6a9
commit
0f604e62fb
3 changed files with 13 additions and 21 deletions
|
@ -16,11 +16,7 @@ module Gitlab
|
|||
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
|
||||
end
|
||||
|
||||
class ProjectRepositoryBranches < Grape::Entity
|
||||
expose :name, :commit
|
||||
end
|
||||
|
||||
class ProjectRepositoryTags < Grape::Entity
|
||||
class RepoObject < Grape::Entity
|
||||
expose :name, :commit
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue