Class: CFoundry::Client
- Inherits:
-
BaseClient
- Object
- BaseClient
- CFoundry::Client
- Defined in:
- lib/cfoundry/client.rb
Instance Attribute Summary
Attributes inherited from BaseClient
#client_id, #client_secret, #rest_client, #skip_ssl_validation
Class Method Summary collapse
Methods inherited from BaseClient
#delete, #get, #info, #initialize, #password_score, #post, #put, #refresh_token!, #request, #request_raw, #stream_url, #token=, #trace=, #uaa
Methods included from ProxyOptions
Constructor Details
This class inherits a constructor from CFoundry::BaseClient
Class Method Details
.get(*args) ⇒ Object
38 39 40 |
# File 'lib/cfoundry/client.rb', line 38 def self.get(*args) CFoundry::V2::Client.new(*args).tap { |client| client.info } end |
.new(*args) ⇒ Object
33 34 35 36 |
# File 'lib/cfoundry/client.rb', line 33 def self.new(*args) warn "DEPRECATION WARNING: Please use CFoundry::Client.get instead of CFoundry::Client.new" get(*args) end |