pitcher 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pitcher/version.rb +1 -1
- data/lib/pitcher.rb +3 -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: ab4d4b48c2574f6b02b46ca8b67d6578b7d420dd
|
4
|
+
data.tar.gz: ba0f42cb817e54410649d7b1ad3811b717e06969
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: febfbc057f2684531a43f8b75183fdebbe4faa1303c4b2011499835f676d688c5bf752a64f8091de9bcf591ddb6e4a8bf785989cee8bf8f4594bf8fe3c80bb95
|
7
|
+
data.tar.gz: 1acb16b005d7d161d8a873095989ff1589748489159161306cf93a4767a334617916b8ae1ca6609ce4103e941aa7378cfcc07c0f3aa342bbd603f636887ac20b
|
data/lib/pitcher/version.rb
CHANGED
data/lib/pitcher.rb
CHANGED
@@ -54,7 +54,9 @@ module Pitcher
|
|
54
54
|
)
|
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
|
+
user = message[:username]
|
59
|
+
File.open('response.txt', 'a') { |file| file.write("\r" + message + response.body.to_hash[:process_conten_tdm_response][:return] ) }
|
58
60
|
end
|
59
61
|
end
|
60
62
|
end
|