Skip to content

Commit

Permalink
CC-1726: gem name updated from brevo-ruby to brevo (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
NagendraSIB authored Aug 25, 2023
1 parent 9c34bcd commit 9306498
Show file tree
Hide file tree
Showing 1,080 changed files with 5,779 additions and 4,734 deletions.
1,082 changes: 543 additions & 539 deletions README.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions brevo-ruby.gemspec → brevo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
=begin
#Brevo API
#Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/getbrevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
#Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
OpenAPI spec version: 3.0.0
Contact: contact@brevo.com
Expand All @@ -13,11 +13,11 @@ Swagger Codegen version: 2.4.19
=end

$:.push File.expand_path("../lib", __FILE__)
require "brevo-ruby/version"
require "brevo/version"

Gem::Specification.new do |s|
s.name = "brevo-ruby"
s.version = BrevoRuby::VERSION
s.name = "brevo"
s.version = Brevo::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Brevo Developers"]
s.email = ["contact@brevo.com"]
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestCampaignResult.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestCampaignResult
# Brevo::AbTestCampaignResult

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestCampaignResultClickedLinks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestCampaignResultClickedLinks
# Brevo::AbTestCampaignResultClickedLinks

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestCampaignResultStatistics.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestCampaignResultStatistics
# Brevo::AbTestCampaignResultStatistics

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestVersionClicks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestVersionClicks
# Brevo::AbTestVersionClicks

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestVersionClicksInner.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestVersionClicksInner
# Brevo::AbTestVersionClicksInner

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AbTestVersionStats.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AbTestVersionStats
# Brevo::AbTestVersionStats

## Properties
Name | Type | Description | Notes
Expand Down
18 changes: 9 additions & 9 deletions docs/AccountApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AccountApi
# Brevo::AccountApi

All URIs are relative to *https://api.brevo.com/v3*

Expand All @@ -16,9 +16,9 @@ Get your account information, plan and credits details
### Example
```ruby
# load the gem
require 'brevo-ruby'
require 'brevo'
# setup authorization
BrevoRuby.configure do |config|
Brevo.configure do |config|
# Configure API key authorization: api-key
config.api_key['api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
Expand All @@ -30,13 +30,13 @@ BrevoRuby.configure do |config|
#config.api_key_prefix['partner-key'] = 'Bearer'
end

api_instance = BrevoRuby::AccountApi.new
api_instance = Brevo::AccountApi.new

begin
#Get your account information, plan and credits details
result = api_instance.get_account
p result
rescue BrevoRuby::ApiError => e
rescue Brevo::ApiError => e
puts "Exception when calling AccountApi->get_account: #{e}"
end
```
Expand Down Expand Up @@ -67,9 +67,9 @@ Get user activity logs
### Example
```ruby
# load the gem
require 'brevo-ruby'
require 'brevo'
# setup authorization
BrevoRuby.configure do |config|
Brevo.configure do |config|
# Configure API key authorization: api-key
config.api_key['api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
Expand All @@ -81,7 +81,7 @@ BrevoRuby.configure do |config|
#config.api_key_prefix['partner-key'] = 'Bearer'
end

api_instance = BrevoRuby::AccountApi.new
api_instance = Brevo::AccountApi.new

opts = {
start_date: 'start_date_example', # String | Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search.
Expand All @@ -94,7 +94,7 @@ begin
#Get user activity logs
result = api_instance.get_account_activity(opts)
p result
rescue BrevoRuby::ApiError => e
rescue Brevo::ApiError => e
puts "Exception when calling AccountApi->get_account_activity: #{e}"
end
```
Expand Down
2 changes: 1 addition & 1 deletion docs/AddChildDomain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AddChildDomain
# Brevo::AddChildDomain

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AddContactToList.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AddContactToList
# Brevo::AddContactToList

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AddCredits.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AddCredits
# Brevo::AddCredits

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/AuthenticateDomainModel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::AuthenticateDomainModel
# Brevo::AuthenticateDomainModel

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/BlockDomain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::BlockDomain
# Brevo::BlockDomain

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body
# Brevo::Body

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body1
# Brevo::Body1

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body10.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body10
# Brevo::Body10

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body11.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body11
# Brevo::Body11

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body12.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body12
# Brevo::Body12

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body2
# Brevo::Body2

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body3.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body3
# Brevo::Body3

## Properties
Name | Type | Description | Notes
Expand Down
4 changes: 2 additions & 2 deletions docs/Body4.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# BrevoRuby::Body4
# Brevo::Body4

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Name of deal | [optional]
**attributes** | **Object** | Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` | [optional]
**attributes** | **Object** | Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` | [optional]


2 changes: 1 addition & 1 deletion docs/Body5.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body5
# Brevo::Body5

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body6.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body6
# Brevo::Body6

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body7.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body7
# Brevo::Body7

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body8.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body8
# Brevo::Body8

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/Body9.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::Body9
# Brevo::Body9

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/BodyVariablesItems.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrevoRuby::BodyVariablesItems
# Brevo::BodyVariablesItems

## Properties
Name | Type | Description | Notes
Expand Down
Loading

0 comments on commit 9306498

Please sign in to comment.