Class: UffizziCore::Api::Cli::V1::Projects::Deployments::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/uffizzi_core/api/cli/v1/projects/deployments/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#resource_deploymentObject



4
5
6
# File 'app/controllers/uffizzi_core/api/cli/v1/projects/deployments/application_controller.rb', line 4

def resource_deployment
  @resource_deployment ||= resource_project.deployments.active.find(params[:deployment_id])
end