rail-locator-api 1.0.28 → 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rail-locator-api/api_request.rb +0 -1
- data/lib/rail-locator-api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd0edd76666a0e2c989d8a946760cfb7f25e033fb465ab098a16de9954ee29ba
|
4
|
+
data.tar.gz: 4b76a953264943d3a1984d5114bbcd25b4fc53c9765f3a9a4d3d9d3015759ec8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0344942f521b8bdc3fa68223ccea4de9ab64a6d60042687ea6f5d7df37f70e3fb4f1e064c4affc8917104013e73fc0aefc954d578bf249ec63c0e56cba534be2'
|
7
|
+
data.tar.gz: 00c9c402006d0d42ea99ec8d2e7b4af4f165701bf85426a3e3888686e662137be01bf6b1ed69425ad264c521742d0979145881a3ac4bc814a2976b380e5dc9ea
|
@@ -43,7 +43,6 @@ module RailLocatorApi
|
|
43
43
|
url = URI("#{self.api_url}#{format.present? ? ".#{format}": ""}")
|
44
44
|
http = Net::HTTP.new(url.host, url.port);
|
45
45
|
request = Net::HTTP::Post.new(url, headers)
|
46
|
-
request['foo'] = bar
|
47
46
|
request.set_form body.to_params, 'multipart/form-data'
|
48
47
|
if @request_builder.debug
|
49
48
|
p request
|