gitlab-org--gitlab-foss/app/serializers/cluster_serializer.rb

8 lines
169 B
Ruby
Raw Normal View History

2017-10-03 17:21:54 -04:00
class ClusterSerializer < BaseSerializer
entity ClusterEntity
def represent_status(resource)
represent(resource, { only: [:status, :status_reason] })
end
end