processout 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64f051c78f0efef9ae4a7d881164c33142f7f606
4
- data.tar.gz: 1b9ea2d114b5ee4fa90517442caf2116b8dfcc3a
3
+ metadata.gz: 24e1b19b205b51963006e4a8e75a6b178187d9af
4
+ data.tar.gz: 1d16bd46db11818cb9c72af6347e827f757055db
5
5
  SHA512:
6
- metadata.gz: 51a8d10746b9a8ee8acfa31ff3d576743cba8a4730ca0cb89b9a7a4addb31bfa309da64e59d75da656bedb51c471fcd19aafad3f49ff62222f2290a636960fd7
7
- data.tar.gz: 2a11229cf6c532f45cef1f85f89b6d9069583877f47f9730ebd8246c549cb57e62c372ee6a58203e0527615221eca525ddbfa5277d2f3e4b9a949312284ab51b
6
+ metadata.gz: e27ad1bc2515cdb9845c289b4198881c4d89b6e6307b216918d2639503aaa9a8a5b0daca66d8337904a8d5a19ec8cc7c8a3cdbeb7c5280b917e249b3e97f8cab
7
+ data.tar.gz: 773b1dee9c0adef049733dcc4e63e0f5e22e856fd895d1f517dabdc36d845c2aa36feb5ee8f0bc042f8a934c1bc1d911ee33802a2d2e12d406eb2070e6c2d21a
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  ProcessOut Ruby
2
2
  ==============
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/processout.svg)](https://badge.fury.io/rb/processout)
5
+
4
6
  This package provides bindings to the ProcessOut API.
5
7
 
6
8
  Dependencies
@@ -174,7 +174,7 @@ module ProcessOut
174
174
  # Get the customer linked to the authorization request.
175
175
  # Params:
176
176
  # +options+:: +Hash+ of options
177
- def get_customer(options = {})
177
+ def fetch_customer(options = {})
178
178
  request = Request.new(@client)
179
179
  path = "/authorization-requests/" + CGI.escape(@id) + "/customers"
180
180
  data = {
@@ -196,7 +196,7 @@ module ProcessOut
196
196
  # Get the subscriptions belonging to the customer.
197
197
  # Params:
198
198
  # +options+:: +Hash+ of options
199
- def get_subscriptions(options = {})
199
+ def fetch_subscriptions(options = {})
200
200
  request = Request.new(@client)
201
201
  path = "/customers/" + CGI.escape(@id) + "/subscriptions"
202
202
  data = {
@@ -224,7 +224,7 @@ module ProcessOut
224
224
  # Get the customer's tokens.
225
225
  # Params:
226
226
  # +options+:: +Hash+ of options
227
- def get_tokens(options = {})
227
+ def fetch_tokens(options = {})
228
228
  request = Request.new(@client)
229
229
  path = "/customers/" + CGI.escape(@id) + "/tokens"
230
230
  data = {
@@ -275,7 +275,7 @@ module ProcessOut
275
275
  # Get the transactions belonging to the customer.
276
276
  # Params:
277
277
  # +options+:: +Hash+ of options
278
- def transactions(options = {})
278
+ def fetch_transactions(options = {})
279
279
  request = Request.new(@client)
280
280
  path = "/customers/" + CGI.escape(@id) + "/transactions"
281
281
  data = {
@@ -98,7 +98,7 @@ module ProcessOut
98
98
  # Get all the webhooks of the event.
99
99
  # Params:
100
100
  # +options+:: +Hash+ of options
101
- def webhooks(options = {})
101
+ def fetch_webhooks(options = {})
102
102
  request = Request.new(@client)
103
103
  path = "/events/" + CGI.escape(@id) + "/webhooks"
104
104
  data = {
@@ -254,7 +254,7 @@ module ProcessOut
254
254
  # Get the customer linked to the invoice.
255
255
  # Params:
256
256
  # +options+:: +Hash+ of options
257
- def get_customer(options = {})
257
+ def fetch_customer(options = {})
258
258
  request = Request.new(@client)
259
259
  path = "/invoices/" + CGI.escape(@id) + "/customers"
260
260
  data = {
@@ -299,7 +299,7 @@ module ProcessOut
299
299
  # Get the transaction of the invoice.
300
300
  # Params:
301
301
  # +options+:: +Hash+ of options
302
- def get_transaction(options = {})
302
+ def fetch_transaction(options = {})
303
303
  request = Request.new(@client)
304
304
  path = "/invoices/" + CGI.escape(@id) + "/transactions"
305
305
  data = {
@@ -280,7 +280,7 @@ module ProcessOut
280
280
  # Get the customer owning the subscription.
281
281
  # Params:
282
282
  # +options+:: +Hash+ of options
283
- def get_customer(options = {})
283
+ def fetch_customer(options = {})
284
284
  request = Request.new(@client)
285
285
  path = "/subscriptions/" + CGI.escape(@id) + "/customers"
286
286
  data = {
@@ -302,7 +302,7 @@ module ProcessOut
302
302
  # Get the discounts applied to the subscription.
303
303
  # Params:
304
304
  # +options+:: +Hash+ of options
305
- def get_discounts(options = {})
305
+ def fetch_discounts(options = {})
306
306
  request = Request.new(@client)
307
307
  path = "/subscriptions/" + CGI.escape(@id) + "/discounts"
308
308
  data = {
@@ -378,7 +378,7 @@ module ProcessOut
378
378
  # Get the subscriptions past transactions.
379
379
  # Params:
380
380
  # +options+:: +Hash+ of options
381
- def get_transactions(options = {})
381
+ def fetch_transactions(options = {})
382
382
  request = Request.new(@client)
383
383
  path = "/subscriptions/" + CGI.escape(@id) + "/transactions"
384
384
  data = {
@@ -224,7 +224,7 @@ module ProcessOut
224
224
  # Get the transaction's refunds.
225
225
  # Params:
226
226
  # +options+:: +Hash+ of options
227
- def get_refunds(options = {})
227
+ def fetch_refunds(options = {})
228
228
  request = Request.new(@client)
229
229
  path = "/transactions/" + CGI.escape(@id) + "/refunds"
230
230
  data = {
@@ -1,3 +1,3 @@
1
1
  module ProcessOut
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: processout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel HUEZ