Skip to content

Commit 0c573eb

Browse files
author
Erik Räni
authored
1.0.1 (#2)
Add omitted text-store field
1 parent 2cdc592 commit 0c573eb

132 files changed

Lines changed: 1644 additions & 813 deletions

File tree

Some content is hidden

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

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0-beta2
1+
4.0.0

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33
AllCops:
4-
TargetRubyVersion: 2.2
4+
TargetRubyVersion: 2.4
55
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66
# to ignore them, so only the ones explicitly set in this file are enabled.
77
DisabledByDefault: true

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: ruby
2+
cache: bundler
3+
rvm:
4+
- 2.3
5+
- 2.4
6+
- 2.5
7+
script:
8+
- bundle install --path vendor/bundle
9+
- bundle exec rspec
10+
- gem build messente_api.gemspec
11+
- gem install ./messente_api-1.0.1.gem

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ gemspec
55
group :development, :test do
66
gem 'rake', '~> 12.0.0'
77
gem 'pry-byebug'
8+
gem 'rubocop', '~> 0.66.0'
89
end

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
PATH
22
remote: .
33
specs:
4-
messente_api (1.0.0)
4+
messente_api (1.0.1)
55
json (~> 2.1, >= 2.1.0)
66
typhoeus (~> 1.0, >= 1.0.1)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
ZenTest (4.11.1)
11+
ZenTest (4.11.2)
1212
addressable (2.5.2)
1313
public_suffix (>= 2.0.2, < 4.0)
1414
autotest (4.4.6)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

3-
- Messente API version: 1.0.0
4-
- Ruby gem version: 1.0.0
3+
- Messente API version: 1.0.1
4+
- Ruby gem version: 1.0.1
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you&#39;re not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

docs/BlacklistApi.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ Method | HTTP request | Description
1010
[**is_blacklisted**](BlacklistApi.md#is_blacklisted) | **GET** /blacklist/{phone} | Checks if a phone number is blacklisted.
1111

1212

13-
# **add_to_blacklist**
13+
14+
## add_to_blacklist
15+
1416
> add_to_blacklist(number_to_blacklist)
1517
1618
Adds a phone number to the blacklist.
1719

1820
### Example
21+
1922
```ruby
2023
# load the gem
2124
require 'messente_api'
@@ -39,6 +42,7 @@ end
3942

4043
### Parameters
4144

45+
4246
Name | Type | Description | Notes
4347
------------- | ------------- | ------------- | -------------
4448
**number_to_blacklist** | [**NumberToBlacklist**](NumberToBlacklist.md)| Phone number to be blacklisted |
@@ -53,17 +57,18 @@ nil (empty response body)
5357

5458
### HTTP request headers
5559

56-
- **Content-Type**: application/json
57-
- **Accept**: application/json
60+
- **Content-Type**: application/json
61+
- **Accept**: application/json
5862

5963

64+
## delete_from_blacklist
6065

61-
# **delete_from_blacklist**
6266
> delete_from_blacklist(phone)
6367
6468
Deletes a phone number from the blacklist.
6569

6670
### Example
71+
6772
```ruby
6873
# load the gem
6974
require 'messente_api'
@@ -87,6 +92,7 @@ end
8792

8893
### Parameters
8994

95+
9096
Name | Type | Description | Notes
9197
------------- | ------------- | ------------- | -------------
9298
**phone** | **String**| A phone number |
@@ -101,17 +107,18 @@ nil (empty response body)
101107

102108
### HTTP request headers
103109

104-
- **Content-Type**: Not defined
105-
- **Accept**: application/json
110+
- **Content-Type**: Not defined
111+
- **Accept**: application/json
106112

107113

114+
## fetch_blacklist
108115

109-
# **fetch_blacklist**
110116
> FetchBlacklistSuccess fetch_blacklist
111117
112118
Returns all blacklisted phone numbers.
113119

114120
### Example
121+
115122
```ruby
116123
# load the gem
117124
require 'messente_api'
@@ -134,6 +141,7 @@ end
134141
```
135142

136143
### Parameters
144+
137145
This endpoint does not need any parameter.
138146

139147
### Return type
@@ -146,17 +154,18 @@ This endpoint does not need any parameter.
146154

147155
### HTTP request headers
148156

149-
- **Content-Type**: Not defined
150-
- **Accept**: application/json
157+
- **Content-Type**: Not defined
158+
- **Accept**: application/json
151159

152160

161+
## is_blacklisted
153162

154-
# **is_blacklisted**
155163
> is_blacklisted(phone)
156164
157165
Checks if a phone number is blacklisted.
158166

159167
### Example
168+
160169
```ruby
161170
# load the gem
162171
require 'messente_api'
@@ -180,6 +189,7 @@ end
180189

181190
### Parameters
182191

192+
183193
Name | Type | Description | Notes
184194
------------- | ------------- | ------------- | -------------
185195
**phone** | **String**| A phone number |
@@ -194,8 +204,6 @@ nil (empty response body)
194204

195205
### HTTP request headers
196206

197-
- **Content-Type**: Not defined
198-
- **Accept**: application/json
199-
200-
207+
- **Content-Type**: Not defined
208+
- **Accept**: application/json
201209

docs/Channel.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# MessenteApi::Channel
22

33
## Properties
4+
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
67

8+
## Code Sample
9+
10+
```ruby
11+
require 'MessenteApi'
12+
13+
instance = MessenteApi::Channel.new()
14+
```
15+
716

docs/ContactEnvelope.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# MessenteApi::ContactEnvelope
22

33
## Properties
4+
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
67
**contact** | [**ContactFields**](ContactFields.md) | | [optional]
78

9+
## Code Sample
10+
11+
```ruby
12+
require 'MessenteApi'
13+
14+
instance = MessenteApi::ContactEnvelope.new(contact: null)
15+
```
16+
817

docs/ContactFields.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# MessenteApi::ContactFields
22

33
## Properties
4+
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
67
**phone_number** | **String** | Phone number in e.164 format |
@@ -14,4 +15,21 @@ Name | Type | Description | Notes
1415
**custom3** | **String** | | [optional]
1516
**custom4** | **String** | | [optional]
1617

18+
## Code Sample
19+
20+
```ruby
21+
require 'MessenteApi'
22+
23+
instance = MessenteApi::ContactFields.new(phone_number: null,
24+
email: null,
25+
first_name: null,
26+
last_name: null,
27+
company: null,
28+
title: null,
29+
custom: null,
30+
custom2: null,
31+
custom3: null,
32+
custom4: null)
33+
```
34+
1735

0 commit comments

Comments
 (0)