require "jfoundry/concerns/proxy_options" require "jfoundry/baseclient" require "jfoundry/rest_client" #require "jfoundry/auth_token" require "jfoundry/v2/app" require "jfoundry/v2/service" require "jfoundry/v2/service_binding" require "jfoundry/v2/managed_service_instance" require "jfoundry/v2/user_provided_service_instance" require "jfoundry/v2/service_plan" #require "jfoundry/v2/service_auth_token" require "jfoundry/v2/user" require "jfoundry/v2/organization" require "jfoundry/v2/space" require "jfoundry/v2/domain" require "jfoundry/v2/route" require "jfoundry/v2/stack" require "jfoundry/v2/quota_definition" require "jfoundry/v2/app_event" require "jfoundry/v2/service_broker" require "jfoundry/v2/base" require "jfoundry/v2/client" #require "jfoundry/v2/fake_client" module JFoundry class Client < BaseClient def self.new(*args) warn "DEPRECATION WARNING: Please use JFoundry::Client.get instead of JFoundry::Client.new" get(*args) end def self.get(*args) JFoundry::V2::Client.new(*args).tap { |client| client.info } end end end