Class: UffizziCore::Api::Cli::V1::Projects::Deployments::EventsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- UffizziCore::Api::Cli::V1::Projects::Deployments::EventsController
- Defined in:
- app/controllers/uffizzi_core/api/cli/v1/projects/deployments/events_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
Get the events associated with deployment.
Instance Method Details
#index ⇒ Object
Get the events associated with deployment
22 23 24 25 26 27 28 |
# File 'app/controllers/uffizzi_core/api/cli/v1/projects/deployments/events_controller.rb', line 22 def index response = UffizziCore::ControllerService.fetch_deployment_events(resource_deployment) events = { events: response } render json: events end |