Class: InstanceSpecsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/instance_specs_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#dispatch, #get_locales, #is_dcmgr?, #set_application, #set_locale

Instance Method Details

#indexObject



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

def index
end

#show_instance_specsObject



7
8
9
10
# File 'app/controllers/instance_specs_controller.rb', line 7

def show_instance_specs
  instance_specs = DcmgrResource::InstanceSpec.list
  respond_with(instance_specs[0], :to => [:json])
end