Class: UffizziCore::BaseSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- UffizziCore::BaseSerializer
- Defined in:
- app/serializers/uffizzi_core/base_serializer.rb
Direct Known Subclasses
Api::Cli::V1::AccountSerializer, Api::Cli::V1::Accounts::ClusterSerializer, Api::Cli::V1::Accounts::ClusterSerializer::ProjectSerializer, Api::Cli::V1::Accounts::CredentialSerializer, Api::Cli::V1::Accounts::ProjectSerializer, Api::Cli::V1::ProjectSerializer, Api::Cli::V1::ProjectSerializer::AccountSerializer, Api::Cli::V1::ProjectSerializer::ComposeFileSerializer, Api::Cli::V1::ProjectSerializer::DeploymentSerializer, Api::Cli::V1::Projects::ClusterSerializer, Api::Cli::V1::Projects::ComposeFileSerializer, Api::Cli::V1::Projects::DeploymentSerializer, Api::Cli::V1::Projects::DeploymentSerializer::ContainerSerializer, Api::Cli::V1::Projects::DeploymentSerializer::UserSerializer, Api::Cli::V1::Projects::Deployments::ActivityItemSerializer, Api::Cli::V1::Projects::Deployments::ContainerSerializer, Api::Cli::V1::Projects::Deployments::ContainerSerializer::ContainerConfigFileSerializer, Api::Cli::V1::Projects::Deployments::ContainerSerializer::ContainerConfigFileSerializer::ConfigFileSerializer, Api::Cli::V1::Projects::DeploymentsSerializer, Api::Cli::V1::Projects::DeploymentsSerializer::UserSerializer, Api::Cli::V1::Projects::SecretSerializer, Api::Cli::V1::Projects::ShortClusterSerializer, Api::Cli::V1::ShortProjectSerializer, Api::Cli::V1::UserSerializer, Api::Cli::V1::UserSerializer::AccountSerializer, Controller::ApplyConfigFile::ConfigFileSerializer, Controller::CreateCluster::ClusterSerializer, Controller::CreateCredential::CredentialSerializer, Controller::CreateDeployment::DeploymentSerializer, Controller::DeployContainers::ComposeFileSerializer, Controller::DeployContainers::ContainerSerializer, Controller::DeployContainers::ContainerSerializer::ContainerConfigFileSerializer, Controller::DeployContainers::ContainerSerializer::ContainerConfigFileSerializer::ConfigFileSerializer, Controller::DeployContainers::ContainerSerializer::ContainerHostVolumeFileSerializer, Controller::DeployContainers::CredentialSerializer, Controller::DeployContainers::HostVolumeFileSerializer, Controller::UpdateCluster::ClusterSerializer
Instance Method Summary collapse
Instance Method Details
#anonymize(field) ⇒ Object
4 5 6 |
# File 'app/serializers/uffizzi_core/base_serializer.rb', line 4 def anonymize(field) '*' * field.length end |