Class: RemoteExecutionFeaturesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/remote_execution_features_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  @remote_execution_features = resource_base.all
end

#showObject



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

def show
end

#updateObject



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

def update
  if @remote_execution_feature.update_attributes(params[:remote_execution_feature])
    process_success :object => @remote_execution_feature
  else
    process_error :object => @remote_execution_feature
  end
end