Module: CloudFoundry

Defined in:
lib/cloudfoundry.rb,
lib/cloudfoundry/client.rb,
lib/cloudfoundry/version.rb,
lib/cloudfoundry/exception.rb,
lib/cloudfoundry/constants.rb,
lib/cloudfoundry/client/info.rb,
lib/cloudfoundry/client/apps.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

Constant Summary

Class Method Summary (collapse)

Class Method Details

+ (Object) method_missing(method, *arguments, &block)

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

+ (CloudFoundry::Client) new(options = {})

Alias for CloudFoundry::Client.new



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

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

+ (Boolean) respond_to?(method, include_private = false)

Delegate all methods to CloudFoundry::Client.



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