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 included from DnsHelper
DnsHelper::SOA, DnsHelper::TTL_4H, DnsHelper::TTL_5M
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 DnsHelper
#add_default_dns_server, #canonical, #default_dns_server, #delete_dns_records, #delete_empty_domain, #dns_domain_name, #dns_ns_record, #dns_servers, #flush_dns_cache, #invalid_dns, #reverse_domain, #reverse_host, #update_dns_a_record, #update_dns_ptr_record
Methods included from ApiHelper
#check_available_disk_space, #json_decode, #json_encode, #send_disposable_file, #start_task, #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 |