Class: Bosh::Director::Api::Controllers::ResourcesController
- Inherits:
-
BaseController
- Object
- Sinatra::Base
- BaseController
- Bosh::Director::Api::Controllers::ResourcesController
- Defined in:
- lib/bosh/director/api/controllers/resources_controller.rb
Constant Summary
Constants inherited from BaseController
BaseController::ROUTES_WITH_EXTENDED_TIMEOUT
Constants included from Http
Http::BAD_REQUEST, Http::CREATED, Http::FORBIDDEN, Http::INTERNAL_SERVER_ERROR, Http::NOT_FOUND, Http::NO_CONTENT, Http::OK, Http::UNAUTHORIZED
Constants included from ApiHelper
Instance Attribute Summary
Attributes inherited from BaseController
Instance Method Summary collapse
-
#initialize(config, resource_manager) ⇒ ResourcesController
constructor
A new instance of ResourcesController.
Methods inherited from BaseController
consumes, #requires_authentication?
Methods included from ApiHelper
#check_available_disk_space, #json_decode, #json_encode, #prepare_yml_file, #send_disposable_file, #start_task, #validate_manifest_yml, #write_file
Constructor Details
#initialize(config, resource_manager) ⇒ ResourcesController
Returns a new instance of ResourcesController.
7 8 9 10 |
# File 'lib/bosh/director/api/controllers/resources_controller.rb', line 7 def initialize(config, resource_manager) super(config) @resource_manager = resource_manager end |