Module: CloudFoundry::Client::Info
- Included in:
- CloudFoundry::Client
- Defined in:
- lib/cloudfoundry/client/info.rb
Overview
CloudFoundry API Info methods.
Instance Method Summary collapse
-
#cloud_info ⇒ Hash
Returns information about the target cloud and, if logged, information about the user account.
-
#cloud_runtimes_info ⇒ Hash
Returns information about system runtimes that are available on the target cloud.
-
#cloud_services_info ⇒ Hash
Returns information about system services that are available on the target cloud.
Instance Method Details
#cloud_info ⇒ Hash
Returns information about the target cloud and, if logged, information about the user account.
8 9 10 |
# File 'lib/cloudfoundry/client/info.rb', line 8 def cloud_info() get(CloudFoundry::Client::CLOUD_INFO_PATH) end |
#cloud_runtimes_info ⇒ Hash
Returns information about system runtimes that are available on the target cloud.
15 16 17 |
# File 'lib/cloudfoundry/client/info.rb', line 15 def cloud_runtimes_info() get(CloudFoundry::Client::CLOUD_RUNTIMES_INFO_PATH) end |
#cloud_services_info ⇒ Hash
Returns information about system services that are available on the target cloud.
23 24 25 26 |
# File 'lib/cloudfoundry/client/info.rb', line 23 def cloud_services_info() require_login get(CloudFoundry::Client::CLOUD_SERVICES_INFO_PATH) end |