endpointer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/endpointer/performers/post.rb +2 -1
- data/lib/endpointer/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: 80103af678623b6b3a044fb127198464eeeb71a8
|
4
|
+
data.tar.gz: dfb7c6566395d2b087c70bbf7ef90fcd16dccd27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a4cdf6e55b2843ec0bd7eed665201f17953a816fcc521e6021b99f58b8fc74802eabc67e1295a6ee3208564ec627288c4162c5ed78d512e4d9089d861174ef
|
7
|
+
data.tar.gz: e30e9d22a95f63a12cedd110d5f97a0038a2d16789db8ef069cd6fe67b582cf8e3da0e89acc7df18bb33e4d94173551e21c4c216fa620051f445dde955e5d9d1
|
@@ -18,9 +18,10 @@ module Endpointer
|
|
18
18
|
url = File.join(create_hostname(resource), create_path(request))
|
19
19
|
response = RestClient.send(method,
|
20
20
|
url,
|
21
|
-
request.body.
|
21
|
+
request.body.read,
|
22
22
|
create_headers(request, resource)
|
23
23
|
)
|
24
|
+
request.body.rewind
|
24
25
|
rescue RestClient::ExceptionWithResponse => e
|
25
26
|
response = e.response
|
26
27
|
end
|
data/lib/endpointer/version.rb
CHANGED