Sha256: bfdf5cd4b0bf3e834327fc241ece6cf737b64ab7ac26060e56046d4f6770083a

Contents?: true

Size: 906 Bytes

Versions: 2

Compression:

Stored size: 906 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"

module CFoundry
  class Client < BaseClient
    def self.new(*args)
      puts "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

2 entries across 2 versions & 1 rubygems

Version Path
cfoundry-2.3.7.rc1 lib/cfoundry/client.rb
cfoundry-2.3.6 lib/cfoundry/client.rb