Skip to content

Commit 54d0307

Browse files
Aakanksha SharmaAakanksha Sharma
Aakanksha Sharma
authored and
Aakanksha Sharma
committed
Gem package name modified to sib-api-v3-sdk. enum validations and date pattern modifications done
1 parent 06bdf2d commit 54d0307

File tree

482 files changed

+2113
-2045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+2113
-2045
lines changed

README.md

+255-258
Large diffs are not rendered by default.

docs/AccountApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinblueApiv3::AccountApi
1+
# SibApiV3Sdk::AccountApi
22

33
All URIs are relative to *https://api.sendinblue.com/v3*
44

@@ -15,22 +15,22 @@ Get your account informations, plans and credits details
1515
### Example
1616
```ruby
1717
# load the gem
18-
require 'sendinblue-apiv3'
18+
require 'sib-api-v3-sdk'
1919
# setup authorization
20-
SendinblueApiv3.configure do |config|
20+
SibApiV3Sdk.configure do |config|
2121
# Configure API key authorization: api-key
2222
config.api_key['api-key'] = 'YOUR API KEY'
2323
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2424
#config.api_key_prefix['api-key'] = 'Bearer'
2525
end
2626

27-
api_instance = SendinblueApiv3::AccountApi.new
27+
api_instance = SibApiV3Sdk::AccountApi.new
2828

2929
begin
3030
#Get your account informations, plans and credits details
3131
result = api_instance.get_account
3232
p result
33-
rescue SendinblueApiv3::ApiError => e
33+
rescue SibApiV3Sdk::ApiError => e
3434
puts "Exception when calling AccountApi->get_account: #{e}"
3535
end
3636
```

docs/AddCredits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinblueApiv3::AddCredits
1+
# SibApiV3Sdk::AddCredits
22

33
## Properties
44
Name | Type | Description | Notes

docs/AddRemoveContactToList.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinblueApiv3::AddRemoveContactToList
1+
# SibApiV3Sdk::AddRemoveContactToList
22

33
## Properties
44
Name | Type | Description | Notes

docs/AttributesApi.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinblueApiv3::AttributesApi
1+
# SibApiV3Sdk::AttributesApi
22

33
All URIs are relative to *https://api.sendinblue.com/v3*
44

@@ -17,25 +17,25 @@ Creates contact attributes
1717
### Example
1818
```ruby
1919
# load the gem
20-
require 'sendinblue-apiv3'
20+
require 'sib-api-v3-sdk'
2121
# setup authorization
22-
SendinblueApiv3.configure do |config|
22+
SibApiV3Sdk.configure do |config|
2323
# Configure API key authorization: api-key
2424
config.api_key['api-key'] = 'YOUR API KEY'
2525
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2626
#config.api_key_prefix['api-key'] = 'Bearer'
2727
end
2828

29-
api_instance = SendinblueApiv3::AttributesApi.new
29+
api_instance = SibApiV3Sdk::AttributesApi.new
3030

31-
create_attribute = SendinblueApiv3::CreateAttribute.new # CreateAttribute | Values to create an attribute
31+
create_attribute = SibApiV3Sdk::CreateAttribute.new # CreateAttribute | Values to create an attribute
3232

3333

3434
begin
3535
#Creates contact attributes
3636
result = api_instance.create_attribute(create_attribute)
3737
p result
38-
rescue SendinblueApiv3::ApiError => e
38+
rescue SibApiV3Sdk::ApiError => e
3939
puts "Exception when calling AttributesApi->create_attribute: #{e}"
4040
end
4141
```
@@ -69,24 +69,24 @@ Deletes an attribute
6969
### Example
7070
```ruby
7171
# load the gem
72-
require 'sendinblue-apiv3'
72+
require 'sib-api-v3-sdk'
7373
# setup authorization
74-
SendinblueApiv3.configure do |config|
74+
SibApiV3Sdk.configure do |config|
7575
# Configure API key authorization: api-key
7676
config.api_key['api-key'] = 'YOUR API KEY'
7777
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7878
#config.api_key_prefix['api-key'] = 'Bearer'
7979
end
8080

81-
api_instance = SendinblueApiv3::AttributesApi.new
81+
api_instance = SibApiV3Sdk::AttributesApi.new
8282

8383
attribute_id = "attribute_id_example" # String | id of the attribute
8484

8585

8686
begin
8787
#Deletes an attribute
8888
api_instance.delete_attribute(attribute_id)
89-
rescue SendinblueApiv3::ApiError => e
89+
rescue SibApiV3Sdk::ApiError => e
9090
puts "Exception when calling AttributesApi->delete_attribute: #{e}"
9191
end
9292
```
@@ -120,22 +120,22 @@ Lists all attributes
120120
### Example
121121
```ruby
122122
# load the gem
123-
require 'sendinblue-apiv3'
123+
require 'sib-api-v3-sdk'
124124
# setup authorization
125-
SendinblueApiv3.configure do |config|
125+
SibApiV3Sdk.configure do |config|
126126
# Configure API key authorization: api-key
127127
config.api_key['api-key'] = 'YOUR API KEY'
128128
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
129129
#config.api_key_prefix['api-key'] = 'Bearer'
130130
end
131131

132-
api_instance = SendinblueApiv3::AttributesApi.new
132+
api_instance = SibApiV3Sdk::AttributesApi.new
133133

134134
begin
135135
#Lists all attributes
136136
result = api_instance.get_attributes
137137
p result
138-
rescue SendinblueApiv3::ApiError => e
138+
rescue SibApiV3Sdk::ApiError => e
139139
puts "Exception when calling AttributesApi->get_attributes: #{e}"
140140
end
141141
```

0 commit comments

Comments
 (0)