pitcher 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab4d4b48c2574f6b02b46ca8b67d6578b7d420dd
4
- data.tar.gz: ba0f42cb817e54410649d7b1ad3811b717e06969
3
+ metadata.gz: 1fc05930e820c857ab114f8dc23f3319d7851726
4
+ data.tar.gz: 7ae08a8fa5796a6bdf81eec8872141e564a5c5d2
5
5
  SHA512:
6
- metadata.gz: febfbc057f2684531a43f8b75183fdebbe4faa1303c4b2011499835f676d688c5bf752a64f8091de9bcf591ddb6e4a8bf785989cee8bf8f4594bf8fe3c80bb95
7
- data.tar.gz: 1acb16b005d7d161d8a873095989ff1589748489159161306cf93a4767a334617916b8ae1ca6609ce4103e941aa7378cfcc07c0f3aa342bbd603f636887ac20b
6
+ metadata.gz: 401c8691904d90a0112240d84dd46207502a8b1bd047ed9da4ee5d21bfaf5f48c074b0402501c28f4bf67dd4b1c79cb4facad120189efeefca102fd26f628731
7
+ data.tar.gz: e17126081c3e71dd940ecc1beff220db759312a922ac3687b1b32b8fdece5f91f97b666d5c43322d104b07a9a3fcdc86b5ff5cd904608b4aa4610424f3091d37
@@ -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
- user = message[:username]
59
- File.open('response.txt', 'a') { |file| file.write("\r" + message + response.body.to_hash[:process_conten_tdm_response][:return] ) }
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
@@ -1,3 +1,3 @@
1
1
  module Pitcher
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pitcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Little