informant-rails 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/informant-rails/client.rb +1 -1
- data/lib/informant-rails/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: 0101070fd5d0b43c4f97368059d8c892a70e9433
|
4
|
+
data.tar.gz: 06e445560839ec4dce9249f569696000b3d4d8c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb50461698c25f77fb16d57d0f5156ca573298860e4622197dc8cc0e530b748c9334bdfb3897d49a06f3f4330d130a04d5f34fb5863ca1b22fa9aae5a682dd7b
|
7
|
+
data.tar.gz: 9a4f9f36f60b0340d99e2438008bcdb8ad4907c7d314a580c73f595926cc5fe318d900be7b3fa4b4e04128272b0817a8d44b1ac98df8b64225f00a231077e958
|
@@ -26,7 +26,7 @@ module InformantRails
|
|
26
26
|
Typhoeus::Request.new(
|
27
27
|
api_url,
|
28
28
|
method: :post,
|
29
|
-
body: { payload: request
|
29
|
+
body: { payload: request }.to_json,
|
30
30
|
headers: {
|
31
31
|
"Authorization" => ActionController::HttpAuthentication::Token.encode_credentials(InformantRails::Config.api_token),
|
32
32
|
"Content-Type" => "application/json"
|