Commit 0ea0e542a93d023fb582f21d89a937c5c32cac18

Authored by Dmitriy Zaporozhets
1 parent eea31779

Remove old entities

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 0 additions and 12 deletions   Show diff stats
lib/api/entities.rb
@@ -58,18 +58,6 @@ module API @@ -58,18 +58,6 @@ module API
58 end 58 end
59 end 59 end
60 60
61 - class TeamMember < UserBasic  
62 - expose :permission, as: :access_level do |user, options|  
63 - options[:user_team].user_team_user_relationships.find_by(user_id: user.id).permission  
64 - end  
65 - end  
66 -  
67 - class TeamProject < Project  
68 - expose :greatest_access, as: :greatest_access_level do |project, options|  
69 - options[:user_team].user_team_project_relationships.find_by(project_id: project.id).greatest_access  
70 - end  
71 - end  
72 -  
73 class Group < Grape::Entity 61 class Group < Grape::Entity
74 expose :id, :name, :path, :owner_id 62 expose :id, :name, :path, :owner_id
75 end 63 end