pin_up 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/VERSION +1 -1
- data/pin_up.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 812143f29d2f599f20b51c92b1d91081bb7b9aff
|
4
|
+
data.tar.gz: c89e84ce878310c632ae6aefed8734731a0558eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21b706f909c1b2286f58314a93540f559edb7b836b5cacf76006a3ec74249ad56942e5518fed72292c164756b0e8f49a6cb004fd72a3af5601d45582de5e84bb
|
7
|
+
data.tar.gz: 51cd5227457d95937d41f69a0e3b823ba1551a29acec4f9a384e02d7321d03566a5147ce17e7f30b0085d4e31270099af9e6933d643c23a4c8a327948e6fedbb
|
data/README.md
CHANGED
@@ -51,6 +51,16 @@ See https://pin.net.au/docs/api/charges#search-charges for a full list of option
|
|
51
51
|
|
52
52
|
Pin::Charges.create(charge)
|
53
53
|
|
54
|
+
##### Authorise A Charge (but don't charge it yet)
|
55
|
+
Also known as a pre-auth, this will hold a charge to be captured by for up to 5 days
|
56
|
+
|
57
|
+
charge = {email: "email@example.com", description: "Description", amount: "400", currency: "AUD", ip_address: "127.0.0.1", customer_token: "cus_token" capture: false }
|
58
|
+
|
59
|
+
Pin::Charges.create(charge)
|
60
|
+
|
61
|
+
##### Capture an authorised charge
|
62
|
+
Pin::Charges.capture(charge)
|
63
|
+
|
54
64
|
### Customers
|
55
65
|
##### List All Customers
|
56
66
|
Pin::Customer.all
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.1
|
data/pin_up.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: pin_up 0.9.
|
5
|
+
# stub: pin_up 0.9.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "pin_up"
|
9
|
-
s.version = "0.9.
|
9
|
+
s.version = "0.9.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|