docs/AttributesApi.md in sib-api-v3-sdk-5.3.0 vs docs/AttributesApi.md in sib-api-v3-sdk-5.4.0
- old
+ new
@@ -2,20 +2,20 @@
All URIs are relative to *https://api.sendinblue.com/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**create_attribute**](AttributesApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Creates contact attribute
-[**delete_attribute**](AttributesApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Deletes an attribute
-[**get_attributes**](AttributesApi.md#get_attributes) | **GET** /contacts/attributes | Lists all attributes
-[**update_attribute**](AttributesApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Updates contact attribute
+[**create_attribute**](AttributesApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
+[**delete_attribute**](AttributesApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
+[**get_attributes**](AttributesApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes
+[**update_attribute**](AttributesApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute
# **create_attribute**
> create_attribute(attribute_category, attribute_name, create_attribute)
-Creates contact attribute
+Create contact attribute
### Example
```ruby
# load the gem
require 'sib-api-v3-sdk'
@@ -40,11 +40,11 @@
create_attribute = SibApiV3Sdk::CreateAttribute.new # CreateAttribute | Values to create an attribute
begin
- #Creates contact attribute
+ #Create contact attribute
api_instance.create_attribute(attribute_category, attribute_name, create_attribute)
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling AttributesApi->create_attribute: #{e}"
end
```
@@ -73,11 +73,11 @@
# **delete_attribute**
> delete_attribute(attribute_category, attribute_name)
-Deletes an attribute
+Delete an attribute
### Example
```ruby
# load the gem
require 'sib-api-v3-sdk'
@@ -100,11 +100,11 @@
attribute_name = 'attribute_name_example' # String | Name of the existing attribute
begin
- #Deletes an attribute
+ #Delete an attribute
api_instance.delete_attribute(attribute_category, attribute_name)
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling AttributesApi->delete_attribute: #{e}"
end
```
@@ -132,11 +132,11 @@
# **get_attributes**
> GetAttributes get_attributes
-Lists all attributes
+List all attributes
### Example
```ruby
# load the gem
require 'sib-api-v3-sdk'
@@ -154,11 +154,11 @@
end
api_instance = SibApiV3Sdk::AttributesApi.new
begin
- #Lists all attributes
+ #List all attributes
result = api_instance.get_attributes
p result
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling AttributesApi->get_attributes: #{e}"
end
@@ -183,11 +183,11 @@
# **update_attribute**
> update_attribute(attribute_category, attribute_name, update_attribute)
-Updates contact attribute
+Update contact attribute
### Example
```ruby
# load the gem
require 'sib-api-v3-sdk'
@@ -212,10 +212,10 @@
update_attribute = SibApiV3Sdk::UpdateAttribute.new # UpdateAttribute | Values to update an attribute
begin
- #Updates contact attribute
+ #Update contact attribute
api_instance.update_attribute(attribute_category, attribute_name, update_attribute)
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling AttributesApi->update_attribute: #{e}"
end
```