Sha256: f6a0b3da32b193c30f9116b792820536a2e51b1eedc2a9b25fd7ccdea2b893a2

Contents?: true

Size: 941 Bytes

Versions: 4

Compression:

Stored size: 941 Bytes

Contents

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/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/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

4 entries across 4 versions & 1 rubygems

Version Path
cfoundry-3.0.1 lib/cfoundry/client.rb
cfoundry-3.0.0 lib/cfoundry/client.rb
cfoundry-2.4.1.rc1 lib/cfoundry/client.rb
cfoundry-2.4.0 lib/cfoundry/client.rb