Class: CFoundry::Client

Inherits:
BaseClient show all
Defined in:
lib/cfoundry/client.rb

Instance Attribute Summary

Attributes inherited from BaseClient

#rest_client

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

Constructor Details

This class inherits a constructor from CFoundry::BaseClient

Class Method Details

.new(*args) ⇒ Object



25
26
27
# File 'lib/cfoundry/client.rb', line 25

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