refactor projects API

This commit is contained in:
Nihad Abbasov 2012-07-06 06:08:17 -07:00
parent 0a6b64e6a9
commit 0f604e62fb
3 changed files with 13 additions and 21 deletions

View file

@ -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