Method: ChefAPI::Authentication#initialize
- Defined in:
- lib/chef-api/authentication.rb
#initialize(user, key, verb, path, body) ⇒ Authentication
Create a new Authentication object for signing. Creating an instance will not run any validations or perform any operations (this is on purpose).
72 73 74 75 76 77 78 |
# File 'lib/chef-api/authentication.rb', line 72 def initialize(user, key, verb, path, body) @user = user @key = key @verb = verb @path = path @body = body end |