build_action_entity.rb 267 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class BuildActionEntity < Grape::Entity include RequestAwareEntity expose :name do |build| build.name.humanize end expose :path do |build| play_namespace_project_build_path( build.project.namespace, build.project, build) end end