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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGUyM2ZjNDY5NjVhODlmMTRiMGExMDkyY2EyYTY0ZmJiN2E4NzE0MQ==
4
+ NzEwODhiNmM0NTExMTM4NDRmYWE4YjlmOWU4YmM4ZGJlYmUwOTBhNw==
5
5
  data.tar.gz: !binary |-
6
- ODZkZDMxMTRkNWZkNzJjZTk5YzRlODE5NTM4NGQ5YzFiYzNlMmEwMg==
6
+ YzZkOGU2MzNmYTc3ZDUyOWU0YzI3ZjdlMTJmMDU0OTEyYTEzYTg5NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGNmOTNlNWU0MDY0ZTE0MGNjZmQ2NDZlYTVhNDc3ODA4MGIyNmYxMGY2Y2I4
10
- ZmIxNzFlYTZhMWEyMzBlMDFmZDgxNWFkNjZhZWIwMzBkMzM0ZDNmOWFlOWUz
11
- Njk2MWVhODIyOTU5NmU2YmZiNzczYjc3MTJkMzI3MDNkYmRiYWM=
9
+ ZWU0OTk0OTZhYjdhMmRhYTM5NGM0MjE4YzNlZjI2MGY4MGM5OGNhOWViNmM1
10
+ YTkzMDk4ZDdmOGUyZjcwZDM4MmI0M2RmODBhMWViYTAzNDJkZjIxMDEzODNj
11
+ NjU4ZWRkN2M4MzJjZjFmMWUzYjI4NzFkY2RkMzMxNzYwMzlmNmQ=
12
12
  data.tar.gz: !binary |-
13
- Mzc3ZmUwMDk5ZGJmMjJjOGJkM2M3ODczNjA3NzMwZGYxOWVlY2RiN2FhODcz
14
- MTFjNDE2YmJlZmEzYjUzYjllMGY5MWY3NDM3MGM3NzNjNWU2MTliZjM3YTQ2
15
- OWVmM2U1ODhhYWRlNjgzODNkMDIwOTMzN2NlMDkyNjRlNGY2NWI=
13
+ ZTViNGUzMGY1ODBiMjYyNjk5NmIxYTkwMzQ4OWEyNTYxYTJmY2FmNWNiYzA3
14
+ MDgyMGM3ZGEwNDJhZDkzNWNhNjk3ZTE3YjhlYjQ4YjU2NWExY2ZiNDA4OWFj
15
+ MDMyZjcyY2E1ZjEwMGU0MmM4ZGVhOWYyZjQwODQ1YmI2NWI1NDU=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- billimatic-client (0.9.0)
4
+ billimatic-client (0.10.0)
5
5
  multi_json (~> 1.11)
6
6
  typhoeus (~> 0.8)
7
7
  virtus (~> 1.0.5)
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",
@@ -1,3 +1,3 @@
1
1
  module Billimatic
2
- VERSION = '0.9.0'
2
+ VERSION = '0.10.0'
3
3
  end
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.9.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-07 00:00:00.000000000 Z
13
+ date: 2016-11-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus