pitcher 0.1.1 → 0.1.2
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 +1 -3
- 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: 76576e1bba793b782409cd54cfb2de9e50916df9
|
4
|
+
data.tar.gz: 5652527d11fd9b03b19eb1e0e18b1beb9771470c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb5f6e89bb89c1ab57fa8da0bb031c76536702a7de7e0c9bc7e1b07047cb578effe860dbe80123bb79b0246f3cd85f5437ff716d0bf37b54dcf23d8d1c3cbcd
|
7
|
+
data.tar.gz: b9a05fb62d4a00ba2b984c5373dee3471093f37220f703d2274da9f766275176403316bf785d3e24b9b412bb2cebb4ebb461e6348b3e182ec3f945710451ba59
|
data/lib/pitcher/version.rb
CHANGED
data/lib/pitcher.rb
CHANGED
@@ -54,9 +54,7 @@ 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
|
-
|
58
|
-
FileUtils.mkdir_p(path) unless File.exist?(path)
|
59
|
-
File.open(File.join(path, 'response.txt'), 'w') { |file| file.write(response.body.to_hash) }
|
57
|
+
File.open('response.txt', 'w') { |file| file.write(response.body.to_hash) }
|
60
58
|
end
|
61
59
|
end
|
62
60
|
end
|