Class: UffizziCore::Api::Cli::V1::Deployment::UpdateForm
- Inherits:
-
Deployment
- Object
- Deployment
- UffizziCore::Api::Cli::V1::Deployment::UpdateForm
- Defined in:
- app/forms/uffizzi_core/api/cli/v1/deployment/update_form.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
Methods included from MassAssignmentControlConcern
Instance Method Details
#assign_dependences!(project, user) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'app/forms/uffizzi_core/api/cli/v1/deployment/update_form.rb', line 60 def assign_dependences!(project, user) self.project = project self.containers = containers.map do |container| container.repo.project = project if !container.repo.nil? container end self.deployed_by = user self end |