pin_up 0.9.0 → 0.9.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/VERSION +1 -1
  4. data/pin_up.gemspec +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 280c7ecdf2bd755f221456d9d5d36667756131a6
4
- data.tar.gz: dce5c730c0786407bb41680ca1873b6ae73bbaa4
3
+ metadata.gz: 812143f29d2f599f20b51c92b1d91081bb7b9aff
4
+ data.tar.gz: c89e84ce878310c632ae6aefed8734731a0558eb
5
5
  SHA512:
6
- metadata.gz: 71cdb892e73263c5dc2edbb9b1d672914a22877d7fa0efb1adfb1c6128ea3b84d97edc4665087d508b7a013a45443d0beb7ae48a6c1b8d97511b06d9550c248c
7
- data.tar.gz: 3a79be89a6bf4536a5333e31064b638ee8e3ece3b15d876c1ffb5c2c244e38ba5cea3288d8be3fcb3692cb4c92f4b7677db12957a00541241718b2b0b7428f25
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.0
1
+ 0.9.1
@@ -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.0 ruby lib
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.0"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pin_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Nitsikopoulos