billimatic-client 0.9.0 → 0.10.0
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 +8 -8
- data/Gemfile.lock +1 -1
- data/README.md +0 -11
- data/lib/billimatic/resources/subscription.rb +0 -9
- data/lib/billimatic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NzEwODhiNmM0NTExMTM4NDRmYWE4YjlmOWU4YmM4ZGJlYmUwOTBhNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzZkOGU2MzNmYTc3ZDUyOWU0YzI3ZjdlMTJmMDU0OTEyYTEzYTg5NA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWU0OTk0OTZhYjdhMmRhYTM5NGM0MjE4YzNlZjI2MGY4MGM5OGNhOWViNmM1
|
|
10
|
+
YTkzMDk4ZDdmOGUyZjcwZDM4MmI0M2RmODBhMWViYTAzNDJkZjIxMDEzODNj
|
|
11
|
+
NjU4ZWRkN2M4MzJjZjFmMWUzYjI4NzFkY2RkMzMxNzYwMzlmNmQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZTViNGUzMGY1ODBiMjYyNjk5NmIxYTkwMzQ4OWEyNTYxYTJmY2FmNWNiYzA3
|
|
14
|
+
MDgyMGM3ZGEwNDJhZDkzNWNhNjk3ZTE3YjhlYjQ4YjU2NWExY2ZiNDA4OWFj
|
|
15
|
+
MDMyZjcyY2E1ZjEwMGU0MmM4ZGVhOWYyZjQwODQ1YmI2NWI1NDU=
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -218,17 +218,6 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
|
218
218
|
<code>client.subscriptions.change_plan(token: token, new_plan_id: id)</code>
|
|
219
219
|
</td>
|
|
220
220
|
</tr>
|
|
221
|
-
<tr>
|
|
222
|
-
<td><code>PATCH</code></td>
|
|
223
|
-
<td>
|
|
224
|
-
<a href="https://app.billimatic.com.br/docs/api#!/payment_gateway/API_V1_Subscription_PaymentGateway_retry_patch_0" target="_blank">
|
|
225
|
-
/api/v1/subscriptions/:token/:invoice_id/retry
|
|
226
|
-
</a>
|
|
227
|
-
</td>
|
|
228
|
-
<td>
|
|
229
|
-
<code>client.subscriptions.retry_charge(attributes_hash, token: token, invoice_id: id)</code>
|
|
230
|
-
</td>
|
|
231
|
-
</tr>
|
|
232
221
|
<tr>
|
|
233
222
|
<td><code>PATCH</code></td>
|
|
234
223
|
<td>
|
|
@@ -26,15 +26,6 @@ module Billimatic
|
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
def retry_charge(params, token:, invoice_id:)
|
|
30
|
-
http.patch(
|
|
31
|
-
"#{resource_base_path}/#{token}/#{invoice_id}/retry",
|
|
32
|
-
body: { subscription: params }
|
|
33
|
-
) do |response|
|
|
34
|
-
respond_with_entity response
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
|
|
38
29
|
def update_payment_information(params, token:)
|
|
39
30
|
http.patch(
|
|
40
31
|
"#{resource_base_path}/#{token}/update_payment_information",
|
data/lib/billimatic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: billimatic-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rodrigo Tassinari de Oliveira
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-11-
|
|
13
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: typhoeus
|