stripe 1.8.6 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe/charge.rb +10 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.7
|
data/lib/stripe/charge.rb
CHANGED
@@ -22,6 +22,12 @@ module Stripe
|
|
22
22
|
dispute
|
23
23
|
end
|
24
24
|
|
25
|
+
def close_dispute
|
26
|
+
response, api_key = Stripe.request(:post, close_dispute_url, @api_key)
|
27
|
+
refresh_from(response, api_key)
|
28
|
+
self
|
29
|
+
end
|
30
|
+
|
25
31
|
private
|
26
32
|
|
27
33
|
def refund_url
|
@@ -35,5 +41,9 @@ module Stripe
|
|
35
41
|
def dispute_url
|
36
42
|
url + '/dispute'
|
37
43
|
end
|
44
|
+
|
45
|
+
def close_dispute_url
|
46
|
+
url + '/dispute/close'
|
47
|
+
end
|
38
48
|
end
|
39
49
|
end
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|