Class: UffizziCore::Api::Cli::V1::Deployment::CreateForm
- Inherits:
-
Deployment
- Object
- Deployment
- UffizziCore::Api::Cli::V1::Deployment::CreateForm
- Includes:
- UffizziCore::ApplicationForm
- Defined in:
- app/forms/uffizzi_core/api/cli/v1/deployment/create_form.rb
Instance Method Summary collapse
Methods included from MassAssignmentControlConcern
Instance Method Details
#assign_dependences!(project, user) ⇒ Object
53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'app/forms/uffizzi_core/api/cli/v1/deployment/create_form.rb', line 53 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 |