Sha256: bd3fe4f6b7578474991ab7a9ddad39ea98afa6f4a7642bcabcee68e153925e88

Contents?: true

Size: 1.06 KB

Versions: 11

Compression:

Stored size: 1.06 KB

Contents

require "cfoundry/concerns/proxy_options"

require "cfoundry/baseclient"
require "cfoundry/rest_client"
require "cfoundry/auth_token"

require "cfoundry/v2/app"
require "cfoundry/v2/service"
require "cfoundry/v2/service_binding"
require "cfoundry/v2/managed_service_instance"
require "cfoundry/v2/user_provided_service_instance"
require "cfoundry/v2/service_plan"
require "cfoundry/v2/service_auth_token"
require "cfoundry/v2/user"
require "cfoundry/v2/organization"
require "cfoundry/v2/space"
require "cfoundry/v2/domain"
require "cfoundry/v2/route"
require "cfoundry/v2/stack"
require "cfoundry/v2/quota_definition"
require "cfoundry/v2/app_event"
require "cfoundry/v2/service_broker"

require "cfoundry/v2/base"
require "cfoundry/v2/client"
#require "cfoundry/v2/fake_client"

module CFoundry
  class Client < BaseClient
    def self.new(*args)
      warn "DEPRECATION WARNING: Please use CFoundry::Client.get instead of CFoundry::Client.new"
      get(*args)
    end

    def self.get(*args)
      CFoundry::V2::Client.new(*args).tap { |client| client.info }
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cfoundry-4.3.7 lib/cfoundry/client.rb
cfoundry-4.3.6 lib/cfoundry/client.rb
cfoundry-4.3.5 lib/cfoundry/client.rb
cfoundry-4.3.5.rc1 lib/cfoundry/client.rb
cfoundry-4.3.4 lib/cfoundry/client.rb
cfoundry-4.3.4.rc1 lib/cfoundry/client.rb
cfoundry-4.3.3 lib/cfoundry/client.rb
cfoundry-4.3.2.rc1 lib/cfoundry/client.rb
cfoundry-4.3.1 lib/cfoundry/client.rb
cfoundry-4.3.0 lib/cfoundry/client.rb
cfoundry-4.2.0.rc lib/cfoundry/client.rb