Class: Api::V2::RemoteExecutionFeaturesController

Inherits:
BaseController
  • Object
show all
Includes:
Api::Version2, Foreman::Controller::Parameters::RemoteExecutionFeature
Defined in:
app/controllers/api/v2/remote_execution_features_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



10
11
12
# File 'app/controllers/api/v2/remote_execution_features_controller.rb', line 10

def index
  @remote_execution_features = resource_scope
end

#showObject



16
# File 'app/controllers/api/v2/remote_execution_features_controller.rb', line 16

def show; end

#updateObject



27
28
29
# File 'app/controllers/api/v2/remote_execution_features_controller.rb', line 27

def update
  process_response @remote_execution_feature.update_attributes(remote_execution_feature_params)
end