totalvoice-ruby 1.5.0 → 1.5.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/lib/api/conta.rb +3 -2
- data/lib/totalvoice/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42de3c22f84f079f2e6ed307a7d665b57ff492dd
|
4
|
+
data.tar.gz: 63dd6321eed5272f885867b1878b38f08530d9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 355d1c010cc396c12a761edb80a7a73a26ec6128b6b63b7b74803a5f293fe8b9281ff4e8caa816663e19c76fd912a03cfc636207dd2eca29d3953ab88cf1e473
|
7
|
+
data.tar.gz: da8c62a81fe2b53150a5ea0bd5158cce711e2c3cab7c3400a0bada49ac180e19ed68b989bef50a32cabfcc9f64b30520c6f0984e790b5a59c0ff4fd9014f8faf
|
data/lib/api/conta.rb
CHANGED
@@ -76,11 +76,12 @@ module TotalVoice
|
|
76
76
|
##
|
77
77
|
# Adiciona crédito bônus nas contas criadas por mim
|
78
78
|
# @param [Integer] id da conta filha
|
79
|
+
# @param [String] nome do plano
|
79
80
|
# @param [Float] valor
|
80
81
|
# @return [json]
|
81
82
|
#
|
82
|
-
def recarga_bonus(id, valor)
|
83
|
-
@client.post(Route.new([ROTA_CONTA, id.to_s, 'bonus']), { valor:valor })
|
83
|
+
def recarga_bonus(id, nome, valor)
|
84
|
+
@client.post(Route.new([ROTA_CONTA, id.to_s, 'bonus']), { nome: nome, valor:valor })
|
84
85
|
end
|
85
86
|
end
|
86
87
|
end
|
data/lib/totalvoice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: totalvoice-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DiloWagner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|