Class: RemoteExecutionFeaturesController

Inherits:
ApplicationController
  • Object
show all
Includes:
Foreman::Controller::Parameters::RemoteExecutionFeature
Defined in:
app/controllers/remote_execution_features_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
# File 'app/controllers/remote_execution_features_controller.rb', line 5

def index
  @remote_execution_features = resource_base.all
end

#showObject



9
10
# File 'app/controllers/remote_execution_features_controller.rb', line 9

def show
end

#updateObject



12
13
14
15
16
17
18
# File 'app/controllers/remote_execution_features_controller.rb', line 12

def update
  if @remote_execution_feature.update(remote_execution_feature_params)
    process_success :object => @remote_execution_feature
  else
    process_error :object => @remote_execution_feature
  end
end