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::Account::CredentialSerializer, Api::Cli::V1::ProjectSerializer, Api::Cli::V1::ProjectSerializer::ComposeFileSerializer, Api::Cli::V1::ProjectSerializer::DeploymentSerializer, 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::SecretSerializer, Api::Cli::V1::ShortProjectSerializer, Api::Cli::V1::UserSerializer, Api::Cli::V1::UserSerializer::AccountSerializer, Controller::ApplyConfigFile::ConfigFileSerializer, Controller::CreateCredential::CredentialSerializer, Controller::CreateDeployment::DeploymentSerializer, Controller::DeployContainers::ContainerSerializer, Controller::DeployContainers::ContainerSerializer::ContainerConfigFileSerializer, Controller::DeployContainers::ContainerSerializer::ContainerConfigFileSerializer::ConfigFileSerializer, Controller::DeployContainers::CredentialSerializer
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 |