blob: 4bb4d4880d4363c2cdd3204abdbd2a3e592d8025 (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class ClusterSerializer < BaseSerializer
entity ClusterEntity
def represent_status(resource)
represent(resource, { only: [:status, :status_reason, :applications] })
end
end
|