Class: UffizziCore::Api::Cli::V1::AccountSerializer

Inherits:
BaseSerializer
  • Object
show all
Includes:
DependencyInjectionConcern
Defined in:
app/serializers/uffizzi_core/api/cli/v1/account_serializer.rb

Instance Method Summary collapse

Methods included from DependencyInjectionConcern

#ci_module, #ci_session, #controller_settings_service, #deployment_memory_module, #domain_module, #find_build_parser_module, #find_ingress_parser_module, #find_volume_parser_module, #notification_module, #password_protection_module, #template_memory_module, #user_access_module

Instance Method Details

#api_urlObject



13
14
15
# File 'app/serializers/uffizzi_core/api/cli/v1/account_serializer.rb', line 13

def api_url
  Settings.domain
end

#vclusters_controller_urlObject



17
18
19
# File 'app/serializers/uffizzi_core/api/cli/v1/account_serializer.rb', line 17

def vclusters_controller_url
  controller_settings_service.(object).url
end