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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af402d3182a2ffe4228ff8bf33d23508346e78206deecfdfed0ebbae25972094
4
- data.tar.gz: 68e1d8e5fa0d5a60b6d7d8f0d790e9b787ff863ea9fb53c504734139cf44f9e6
3
+ metadata.gz: 94452535f982f28f27037717bd31ce21e1b9ec2c556787650978a6afd1998153
4
+ data.tar.gz: 881a73671a14de10053b16c9e1b05f65121852cda0f7cdf7d98320bd33b21d51
5
5
  SHA512:
6
- metadata.gz: 6d0150f58902edfb0489fa0d7731b73cd4c8807b7a2cd3c62a2811e6570de7a7ff1529d45a54409be0798cf4ba16d5675fc25075362830fdf706d325d4fdacaf
7
- data.tar.gz: 04ffc89cd51916fe539873b24fd3d072312c2ecd1cb0fc146e523e4a69ccce2972cead0fedbf28b170162310802dc7ac176599ea3ebd9d5ef3664523ab73af6b
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
@@ -1,3 +1,3 @@
1
1
  module AfricasTalking
2
- VERSION = "2.1.1.beta.0"
2
+ VERSION = "2.1.1.beta.1"
3
3
  end
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.0
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-01 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler