Method: CF::Client::ClassMethods#put
- Defined in:
- lib/cf/client.rb
#put(*args) ⇒ Object
27 28 29 |
# File 'lib/cf/client.rb', line 27 def put(*args) handle_response RestClient.put("#{CF.api_url}#{CF.api_version}#{args.first}", args.last.merge!(default_params), :accept => 'json'){ |response, request, result| response } end |