2018-07-19 14:43:13 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-10-03 17:21:54 -04:00
|
|
|
class ClusterSerializer < BaseSerializer
|
|
|
|
entity ClusterEntity
|
|
|
|
|
|
|
|
def represent_status(resource)
|
2017-10-31 06:29:56 -04:00
|
|
|
represent(resource, { only: [:status, :status_reason, :applications] })
|
2017-10-03 17:21:54 -04:00
|
|
|
end
|
|
|
|
end
|