pitcher 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pitcher.rb +2 -2
- data/lib/pitcher/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fc05930e820c857ab114f8dc23f3319d7851726
|
4
|
+
data.tar.gz: 7ae08a8fa5796a6bdf81eec8872141e564a5c5d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 401c8691904d90a0112240d84dd46207502a8b1bd047ed9da4ee5d21bfaf5f48c074b0402501c28f4bf67dd4b1c79cb4facad120189efeefca102fd26f628731
|
7
|
+
data.tar.gz: e17126081c3e71dd940ecc1beff220db759312a922ac3687b1b32b8fdece5f91f97b666d5c43322d104b07a9a3fcdc86b5ff5cd904608b4aa4610424f3091d37
|
data/lib/pitcher.rb
CHANGED
@@ -55,8 +55,8 @@ module Pitcher
|
|
55
55
|
# Create the hash that will be sent as a message to the service with the creds and data above
|
56
56
|
response = client.call(:process_conten_tdm, message: message)
|
57
57
|
# Write response to a file
|
58
|
-
|
59
|
-
File.open('response.txt', 'a') { |file| file.write("\r" +
|
58
|
+
request = client.build_request(:process_conten_tdm, message: message)
|
59
|
+
File.open('response.txt', 'a') { |file| file.write("\r" + request.body + "\r" + response.body.to_hash[:process_conten_tdm_response][:return] ) }
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/pitcher/version.rb
CHANGED