Skip to content

Commit 759a875

Browse files
author
Erik Räni
authored
1.2.0 (#6)
1 parent 3710f38 commit 759a875

82 files changed

Lines changed: 3449 additions & 106 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.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build messente_api.gemspec
11-
- gem install ./messente_api-1.1.0.gem
11+
- gem install ./messente_api-1.2.0.gem

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
messente_api (1.1.0)
4+
messente_api (1.2.0)
55
json (~> 2.1, >= 2.1.0)
66
typhoeus (~> 1.0, >= 1.0.1)
77

README.md

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

3-
- Messente API version: 1.1.0
4-
- Ruby gem version: 1.1.0
3+
- Messente API version: 1.2.0
4+
- Ruby gem version: 1.2.0
55

6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you'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.
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

88
## Installation
99

@@ -48,11 +48,19 @@ Messente API Library provides the operations described below to access the featu
4848
1. Returns all groups [`fetch_groups`](docs/GroupsApi.md#fetch_groups)
4949
1. Updates a group with the provided name [`update_group`](docs/GroupsApi.md#update_group)
5050

51+
### NumberLookupApi
52+
53+
1. Requests info about phone numbers [`fetch_info`](docs/NumberLookupApi.md#fetch_info)
54+
5155
### OmnimessageApi
5256

5357
1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message)
5458
1. Sends an Omnimessage [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage)
5559

60+
### StatisticsApi
61+
62+
1. Requests statistics reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report)
63+
5664
## Auth
5765

5866
**Type**: HTTP basic authentication

docs/ErrorCodeStatistics.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# MessenteApi::ErrorCodeStatistics
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
## Code Sample
9+
10+
```ruby
11+
require 'MessenteApi'
12+
13+
instance = MessenteApi::ErrorCodeStatistics.new()
14+
```
15+
16+

docs/ErrorItemNumberLookup.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# MessenteApi::ErrorItemNumberLookup
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | |
8+
9+
## Code Sample
10+
11+
```ruby
12+
require 'MessenteApi'
13+
14+
instance = MessenteApi::ErrorItemNumberLookup.new(error: null)
15+
```
16+
17+

docs/ErrorItemNumberLookupError.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# MessenteApi::ErrorItemNumberLookupError
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | **String** | Error description |
8+
**code** | **Integer** | Matches the following error title. This field is a constant * 101 - Unauthorized * 102 - Invalid arguments or parameters * 103 - Server error * 104 - Crediting error #1 * 105 - Crediting error #2 * 106 - Client error |
9+
10+
## Code Sample
11+
12+
```ruby
13+
require 'MessenteApi'
14+
15+
instance = MessenteApi::ErrorItemNumberLookupError.new(description: null,
16+
code: null)
17+
```
18+
19+

docs/ErrorItemStatistics.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MessenteApi::ErrorItemStatistics
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**title** | **String** | Error title |
8+
**details** | **String** | Error details |
9+
**code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | |
10+
11+
## Code Sample
12+
13+
```ruby
14+
require 'MessenteApi'
15+
16+
instance = MessenteApi::ErrorItemStatistics.new(title: null,
17+
details: null,
18+
code: null)
19+
```
20+
21+

docs/ErrorNumberLookup.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# MessenteApi::ErrorNumberLookup
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | [**Array<ErrorItemNumberLookup>**](ErrorItemNumberLookup.md) | An array of errors |
8+
9+
## Code Sample
10+
11+
```ruby
12+
require 'MessenteApi'
13+
14+
instance = MessenteApi::ErrorNumberLookup.new(errors: null)
15+
```
16+
17+

docs/ErrorStatistics.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# MessenteApi::ErrorStatistics
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | [**Array<ErrorItemStatistics>**](ErrorItemStatistics.md) | An array of errors |
8+
9+
## Code Sample
10+
11+
```ruby
12+
require 'MessenteApi'
13+
14+
instance = MessenteApi::ErrorStatistics.new(errors: null)
15+
```
16+
17+

docs/MobileNetwork.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# MessenteApi::MobileNetwork
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**mccmnc** | **String** | Mobile country and mobile network code | [optional]
8+
**network_name** | **String** | Mobile network name | [optional]
9+
**country_name** | **String** | Country name | [optional]
10+
**country_prefix** | **String** | Country prefix | [optional]
11+
**country_code** | **String** | Country code | [optional]
12+
13+
## Code Sample
14+
15+
```ruby
16+
require 'MessenteApi'
17+
18+
instance = MessenteApi::MobileNetwork.new(mccmnc: null,
19+
network_name: null,
20+
country_name: null,
21+
country_prefix: null,
22+
country_code: null)
23+
```
24+
25+

0 commit comments

Comments
 (0)