Module: CloudFoundry::Client::Request
- Included in:
- CloudFoundry::Client
- Defined in:
- lib/cloudfoundry/client/request.rb
Overview
CloudFoundry API Request Methods.
Instance Method Summary (collapse)
-
- (Object) delete(path, options = {})
Performs an HTTP DELETE request to the target cloud.
-
- (Object) get(path, options = {})
Performs an HTTP GET request to the target cloud.
-
- (Object) post(path, body = {}, options = {})
Performs an HTTP POST request to the target cloud.
-
- (Object) put(path, body = {}, options = {})
Performs an HTTP PUT request to the target cloud.
Instance Method Details
- (Object) delete(path, options = {})
Performs an HTTP DELETE request to the target cloud.
40 41 42 |
# File 'lib/cloudfoundry/client/request.rb', line 40 def delete(path, = {}) request(:delete, path, ) end |
- (Object) get(path, options = {})
Performs an HTTP GET request to the target cloud.
11 12 13 |
# File 'lib/cloudfoundry/client/request.rb', line 11 def get(path, = {}) request(:get, path, ) end |
- (Object) post(path, body = {}, options = {})
Performs an HTTP POST request to the target cloud.
21 22 23 |
# File 'lib/cloudfoundry/client/request.rb', line 21 def post(path, body = {}, = {}) request(:post, path, , body) end |
- (Object) put(path, body = {}, options = {})
Performs an HTTP PUT request to the target cloud.
31 32 33 |
# File 'lib/cloudfoundry/client/request.rb', line 31 def put(path, body = {}, = {}) request(:put, path, , body) end |