chargehound 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chargehound/version.rb +1 -1
- data/test/disputes_test.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e526016c537c7e407227c72cdb98a443046a01ff
|
4
|
+
data.tar.gz: 29a22c1c789b74425fdcaeb5e67c91208115bc70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09f997ff3437c4213a3f9b123eef8c268fe10494628a790ac0caff724f88989035a105796dcb5cd7d6d894f74c823e19d99f4ba26ad80c6291468fb36a160eb8
|
7
|
+
data.tar.gz: 366becda77c47b1645790f94e2e6f211b7cbba15f632162eb2f83930b92d13867326fd54d4cc057a1b16628a0dc53396cefa643fbf915347172dc3770c575c1a
|
data/lib/chargehound/version.rb
CHANGED
data/test/disputes_test.rb
CHANGED
@@ -52,8 +52,10 @@ describe Chargehound::Disputes do
|
|
52
52
|
|
53
53
|
it 'can submit a dispute' do
|
54
54
|
stub = stub_request(:post, 'https://api.chargehound.com/v1/disputes/dp_123/submit')
|
55
|
-
.with(headers: post_headers,
|
56
|
-
|
55
|
+
.with(headers: post_headers,
|
56
|
+
body: dispute_update.to_json)
|
57
|
+
.to_return(body: dispute_response,
|
58
|
+
status: 201)
|
57
59
|
|
58
60
|
Chargehound::Disputes.submit('dp_123', dispute_update)
|
59
61
|
assert_requested stub
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chargehound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chargehound
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|