Module: CloudFoundry

Defined in:
lib/cloudfoundry.rb,
lib/cloudfoundry/client.rb,
lib/cloudfoundry/version.rb,
lib/cloudfoundry/constants.rb,
lib/cloudfoundry/exception.rb,
lib/cloudfoundry/client/apps.rb,
lib/cloudfoundry/client/info.rb,
lib/cloudfoundry/client/users.rb,
lib/cloudfoundry/client/request.rb,
lib/cloudfoundry/client/response.rb,
lib/cloudfoundry/client/services.rb,
lib/cloudfoundry/client/resources.rb

Overview

This is a Ruby wrapper for the CloudFoundry API, the industry’s first open Platform as a Service (PaaS) offering.

Defined Under Namespace

Classes: Client

Class Method Summary collapse

Class Method Details

.method_missing(method, *arguments, &block) ⇒ Object

Delegate all methods to CloudFoundry::Client.



25
26
27
28
# File 'lib/cloudfoundry.rb', line 25

def method_missing(method, *arguments, &block)
  return super unless new.respond_to?(method)
  new.send(method, *arguments, &block)
end

.new(options = {}) ⇒ CloudFoundry::Client

Alias for CloudFoundry::Client.new

Returns:

See Also:



20
21
22
# File 'lib/cloudfoundry.rb', line 20

def new(options = {})
  CloudFoundry::Client.new(options)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Delegate all methods to CloudFoundry::Client.

Returns:

  • (Boolean)


31
32
33
# File 'lib/cloudfoundry.rb', line 31

def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super(method, include_private)
end