sqs2cb 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzMyZWJiOGJlMTUwN2Y0N2JiNjRhYmE1YmU5MDljZDNmYzViNjE0OA==
4
+ NTJjYzEwNDE1NWQ2MGQ0MTU2Mjk2N2M1YjVjN2M4MzZlZTM1NDBlNw==
5
5
  data.tar.gz: !binary |-
6
- YzdiODY0ZTYwNzYxMGU5MGE1ZWQyZTBkMTljNWRlNGJjNmRhOTY1NQ==
6
+ MjBlMDEyZTk3MGE2Y2ZmYzNkNzIxY2ZmMjg0M2ExMjE2ZDY5ZDE1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2VlM2QzMTBhYmNkZjVhMTYyNGZlNDNlMjIwM2IzOTAyOGZiYTRkNjU5ODdk
10
- N2VkNTA0MDJhYWU5ZmZlNDFmOWUzMWQzOGM1NWI3MTRlYTU5M2UxOTJlNjM0
11
- NWQ4MzY1ZDRmZDYwNmY4YWIxNDcxOTgwYzM0ODFhNGMwMmY0NjA=
9
+ NmU3NmNmMzUyMmJkODg4Y2E1OTRjMWJkYzRkMzNkYmI3OWRmODg1NDJkNDQx
10
+ YjRhZjU2ZWM5M2FiN2Y2NjE1MjY1NDc1ZWY5YTllZTBkMGI2NTQ5Y2E4NDkz
11
+ YjBjNzg0NDVjODY0YWUzZjliMTYzMTE5OWI5ZDcwZWYwYzU5ZGU=
12
12
  data.tar.gz: !binary |-
13
- ZjE3ZGZiY2QwZjEyZWFhOGM4NWY3MTkyZWY3NTJmMmM3ZmY5YTgwYjEzZjI4
14
- MjMyMmY0MGI4OGQ3ZTQyNmQxNzc1ODkxYzRkMjcwMDlmNGY5OWRkMGNhNTEx
15
- NzU5NTVmNGQ4NmU4OGRmOWQ0NjFhNzc3MjAyYWY2MzRmZjM2NDU=
13
+ ODU1MTRhMWNlYTRlNjAwZDdkNTUyZjE2YTczZTQ5NzgwMjUzZTY2NTRjYWQ5
14
+ YzRmNTVhMWEzMmM1MzMxYjczNzM2MTQ0YzAwMmJiZjMyZWE0ZjM4MGQ1YzAx
15
+ Y2I2ZDIzOGU0OTJlYzNlYzAyOGI0M2IxM2YxMWIzYzFiOTRjOTM=
@@ -1,3 +1,3 @@
1
1
  module Sqs2cb
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
data/lib/sqs2cb.rb CHANGED
@@ -97,7 +97,7 @@ module Sqs2cb
97
97
  def send_to_caseblocks(msgHash)
98
98
  @logger.info "Sending to CaseBlocks"
99
99
 
100
- response = RestClient.post(add_auth(URI.parse("#{@caseBlocksAPIEndpoint}/case_blocks/cases")), msgHash.to_json,
100
+ response = RestClient.post("#{@caseBlocksAPIEndpoint}/case_blocks/cases?auth_token=#{@caseBlocksAPIToken}", msgHash.to_json,
101
101
  :content_type => :json,
102
102
  :accept => :json,
103
103
  "AUTH_TOKEN" => @caseBlocksAPIToken)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqs2cb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - EmergeAdapt