Class: Chef::Knife::Raw::RawInputServerAPI

Inherits:
HTTP
  • Object
show all
Defined in:
lib/chef/knife/raw.rb

Instance Attribute Summary

Attributes inherited from HTTP

#keepalives, #middlewares, #options, #redirect_limit, #sign_on_redirect, #url

Instance Method Summary collapse

Methods inherited from HTTP

#delete, #get, #head, #http_client, #last_response, middlewares, #post, #put, #request, #streaming_request, #streaming_request_with_progress, use

Constructor Details

#initialize(options = {}) ⇒ RawInputServerAPI


43
44
45
46
47
# File 'lib/chef/knife/raw.rb', line 43

def initialize(options = {})
  options[:client_name] ||= Chef::Config[:node_name]
  options[:signing_key_filename] ||= Chef::Config[:client_key]
  super(Chef::Config[:chef_server_url], options)
end