lib/purecloud/api/licensing_api.rb in purecloud-0.18.0 vs lib/purecloud/api/licensing_api.rb in purecloud-0.25.0
- old
+ new
@@ -247,24 +247,24 @@
#
# @param [Hash] opts the optional parameters
# @option opts [Array<String>] :id ID
# @option opts [Permissions] :body The permissions details
# @return [Array<LicensesByPermission>]
- def create_permissions(opts = {})
- data, status_code, headers = create_permissions_with_http_info(opts)
+ def post_permissions(opts = {})
+ data, status_code, headers = post_permissions_with_http_info(opts)
return data
end
# Get Licenses required per permission.
#
# @param [Hash] opts the optional parameters
# @option opts [Array<String>] :id ID
# @option opts [Permissions] :body The permissions details
# @return [Array<(Array<LicensesByPermission>, Fixnum, Hash)>] Array<LicensesByPermission> data, response status code and response headers
- def create_permissions_with_http_info(opts = {})
+ def post_permissions_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: LicensingApi#create_permissions ..."
+ @api_client.config.logger.debug "Calling API: LicensingApi#post_permissions ..."
end
# resource path
path = "/api/v1/licensing/permissions".sub('{format}','json')
@@ -297,10 +297,10 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Array<LicensesByPermission>')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: LicensingApi#create_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: LicensingApi#post_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get user license assignments.