docs/CategoriesApi.md in voucherify-5.0.0 vs docs/CategoriesApi.md in voucherify-6.0.0

- old
+ new

@@ -37,11 +37,11 @@ # config.api_key_prefix['X-App-Token'] = 'Bearer' end api_instance = VoucherifySdk::CategoriesApi.new opts = { - categories_create_request_body: VoucherifySdk::CategoriesCreateRequestBody.new({name: 'name_example', hierarchy: 37}) # CategoriesCreateRequestBody | Specify the details of the category that you would like to create. + categories_create_request_body: VoucherifySdk::CategoriesCreateRequestBody.new # CategoriesCreateRequestBody | Specify the details of the category that you would like to create. } begin # Create Category result = api_instance.create_category(opts) @@ -268,10 +268,10 @@ end api_instance = VoucherifySdk::CategoriesApi.new category_id = 'category_id_example' # String | Unique category ID assigned by Voucherify. opts = { - categories_update_request_body: VoucherifySdk::CategoriesUpdateRequestBody.new({name: 'name_example', hierarchy: 37}) # CategoriesUpdateRequestBody | Specify the details of the category that you would like to update. + categories_update_request_body: VoucherifySdk::CategoriesUpdateRequestBody.new # CategoriesUpdateRequestBody | Specify the details of the category that you would like to update. } begin # Update Category result = api_instance.update_category(category_id, opts)