stripe 1.56.2 → 1.57.0

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: 8f3eceb5c2737ff2f2cfaab5341e90c960406cb5
4
- data.tar.gz: 3f16e6ca7c70444e60c12eda3ef0bd620f6b8e60
3
+ metadata.gz: 9fe4d3fd367bcbfca810fc12cef79b4867c6a55f
4
+ data.tar.gz: a04ff21db27f43fe765bedc7cb204dcd82dc7549
5
5
  SHA512:
6
- metadata.gz: bb766287faa55616972a6bd6de845b059f9f255bb45a4347f3b8de4b16d35e1f1615882dd768d1f4236786227e375e156702e03219776b793a7f9b0adac50cd5
7
- data.tar.gz: dd36f2bb9ff499e8b8308cd5a5a2afb32423d77e5415640f007ab989d01b6ad2dd0ea709dda167b8e1cf50f6b4e396c8e0d9671c39507ae16f7f7ded96256ee0
6
+ metadata.gz: 5008004f4e7c44636190e87b9435e80abf7d7bf04c2a581a63c7f89fd6985794c6abd03a90db8166e35908ebf808ae3bbb1016b3a86da1cbc6b9faef7ee932c8
7
+ data.tar.gz: 136522a91f1a78340136450a7735d3debc92649d7da8475ae0c26147985e690e6d840c1dc958128a1d0e30310fca607a21742c078a7d13c4adc3b80fb0f60d2f
@@ -1,3 +1,7 @@
1
+ === 1.57.0 2016-11-21
2
+
3
+ * Add retrieve method for 3-D Secure resources
4
+
1
5
  === 1.56.2 2016-11-17
2
6
 
3
7
  * Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.2
1
+ 1.57.0
@@ -5,9 +5,5 @@ module Stripe
5
5
  def self.resource_url
6
6
  "/v1/3d_secure"
7
7
  end
8
-
9
- def self.retrieve(id, opts=nil)
10
- raise NotImplementedError.new("3D Secure objects cannot be retrieved")
11
- end
12
8
  end
13
9
  end
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '1.56.2'
2
+ VERSION = '1.57.0'
3
3
  end
@@ -2,6 +2,12 @@ require File.expand_path('../../test_helper', __FILE__)
2
2
 
3
3
  module Stripe
4
4
  class ThreeDSecureTest < Test::Unit::TestCase
5
+ should "retrieve an existing 3D Secure object" do
6
+ @mock.expects(:get).once.returns(make_response(make_three_d_secure))
7
+ tds = Stripe::ThreeDSecure.retrieve("tdsrc_test")
8
+ assert_equal "tdsrc_test", tds.id
9
+ end
10
+
5
11
  should "create should return a new 3D Secure object" do
6
12
  @mock.expects(:post).once.returns(make_response(make_three_d_secure))
7
13
  tds = Stripe::ThreeDSecure.create(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.56.2
4
+ version: 1.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2016-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client