Module: CloudFoundry::Client::Resources

Included in:
CloudFoundry::Client
Defined in:
lib/cloudfoundry/client/resources.rb

Overview

CloudFoundry API Resources methods.

Instance Method Summary collapse

Instance Method Details

#check_resources(resources) ⇒ Array

Checks which resources are needed to send to the target cloud when uploading application bits.

Parameters:

  • resources (Array)

    A resources manifest.

Returns:

  • (Array)

    A resources manifest.

Requires a user logged in:

  • True



10
11
12
13
# File 'lib/cloudfoundry/client/resources.rb', line 10

def check_resources(resources)
  
  post(CloudFoundry::Client::RESOURCES_PATH, resources)
end