Class: Bosh::Director::Api::Controllers::ErrandsController
- Inherits:
-
BaseController
- Object
- Sinatra::Base
- BaseController
- Bosh::Director::Api::Controllers::ErrandsController
- Defined in:
- lib/bosh/director/api/controllers/errands_controller.rb
Constant Summary
Constants inherited from BaseController
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 Method Summary collapse
Methods inherited from BaseController
#authenticate, consumes, #initialize
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, #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
This class inherits a constructor from Bosh::Director::Api::Controllers::BaseController
Instance Method Details
#body_params ⇒ Object
21 22 23 |
# File 'lib/bosh/director/api/controllers/errands_controller.rb', line 21 def body_params @body_params ||= JSON.load(request.body) end |