9 lines
119 B
Ruby
9 lines
119 B
Ruby
![]() |
class ProjectEntity < Grape::Entity
|
||
|
expose :id
|
||
|
expose :name
|
||
|
|
||
|
expose :test do |project|
|
||
|
'something'
|
||
|
end
|
||
|
end
|