Class: Chef::Knife::Raw::RawInputServerAPI
- Defined in:
- lib/chef/knife/raw.rb
Instance Attribute Summary
Attributes inherited from HTTP
#middlewares, #options, #redirect_limit, #sign_on_redirect, #url
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RawInputServerAPI
constructor
A new instance of RawInputServerAPI.
Methods inherited from HTTP
#delete, #get, #head, #http_client, #last_response, middlewares, #post, #put, #request, #streaming_request, use
Constructor Details
#initialize(options = {}) ⇒ RawInputServerAPI
Returns a new instance of RawInputServerAPI.
43 44 45 46 47 |
# File 'lib/chef/knife/raw.rb', line 43 def initialize( = {}) [:client_name] ||= Chef::Config[:node_name] [:signing_key_filename] ||= Chef::Config[:client_key] super(Chef::Config[:chef_server_url], ) end |