stripe 1.5.16 → 1.5.17
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.
- data/lib/stripe.rb +5 -1
- data/lib/stripe/version.rb +1 -1
- metadata +4 -4
data/lib/stripe.rb
CHANGED
|
@@ -401,13 +401,17 @@ module Stripe
|
|
|
401
401
|
url + '/capture'
|
|
402
402
|
end
|
|
403
403
|
end
|
|
404
|
-
|
|
404
|
+
|
|
405
405
|
class Plan < APIResource
|
|
406
406
|
include Stripe::APIOperations::Create
|
|
407
407
|
include Stripe::APIOperations::Delete
|
|
408
408
|
include Stripe::APIOperations::List
|
|
409
409
|
end
|
|
410
410
|
|
|
411
|
+
class Token < APIResource
|
|
412
|
+
include Stripe::APIOperations::Create
|
|
413
|
+
end
|
|
414
|
+
|
|
411
415
|
class StripeError < StandardError; end
|
|
412
416
|
class APIError < StripeError; end
|
|
413
417
|
class APIConnectionError < StripeError; end
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 33
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 1.5.
|
|
9
|
+
- 17
|
|
10
|
+
version: 1.5.17
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ross Boucher
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2011-09-
|
|
19
|
+
date: 2011-09-26 00:00:00 Z
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
22
|
name: rest-client
|