africastalking-ruby 2.1.1.beta.0 → 2.1.1.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/AfricasTalking/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94452535f982f28f27037717bd31ce21e1b9ec2c556787650978a6afd1998153
|
|
4
|
+
data.tar.gz: 881a73671a14de10053b16c9e1b05f65121852cda0f7cdf7d98320bd33b21d51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8276c2a86d952d9caf1dae1213c953f520839f7a0ce8d95f491d13f168c1e4213d68405cf643388a8887f2cfcdb4fcfb7df462aa4ac89c7adf94ef26ed5c8d9b
|
|
7
|
+
data.tar.gz: 5a37bd06552da3c59e70170d51d019289d9b6056f234d7e2c8fbab81c1f04cfa3224b2b4ca0e62396f579647e92d7bd1f2b0025e305c54bec9dfb05f1deff1cf
|
data/README.md
CHANGED
|
@@ -333,6 +333,20 @@ payments.mobileB2B options
|
|
|
333
333
|
- `amount`: Payment amount. `REQUIRED`
|
|
334
334
|
- `metadata`: Some optional data to associate with transaction.`REQUIRED`
|
|
335
335
|
|
|
336
|
+
#### Mobile Data
|
|
337
|
+
```ruby
|
|
338
|
+
payments.mobileData options
|
|
339
|
+
```
|
|
340
|
+
- `options`
|
|
341
|
+
- `productName`: Your Payment Product. `REQUIRED`
|
|
342
|
+
- `recipients`: A list of recipients. Each recipient has:
|
|
343
|
+
|
|
344
|
+
- `phoneNumber`: Customer phone number (in international format). `REQUIRED`
|
|
345
|
+
- `quantity`: Mobile data amount. `REQUIRED`
|
|
346
|
+
- `unit`: Mobile data unit. Can either be `MB` or `GB`. `REQUIRED`
|
|
347
|
+
- `validity`: How long the mobile data is valid for. Must be one of `Daily`, `Weekly` and `Monthly`. `REQUIRED`
|
|
348
|
+
- `metadata`: Additional data to associate with the transaction. `REQUIRED`
|
|
349
|
+
|
|
336
350
|
#### Wallet Transfer
|
|
337
351
|
```ruby
|
|
338
352
|
payments.walletTransfer options
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: africastalking-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.1.beta.
|
|
4
|
+
version: 2.1.1.beta.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Mwirigi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|