Method: Chef::WebUIUser#create

Defined in:
lib/chef/webui_user.rb

#createObject

Create the WebUIUser via the REST API



194
195
196
197
198
# File 'lib/chef/webui_user.rb', line 194

def create
  r = Chef::REST.new(Chef::Config[:chef_server_url])
  r.post_rest("users", self)
  self
end