sds-rest 0.1.3 → 0.1.4
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.
- data/lib/sds-rest.rb +11 -1
- data/lib/sds-rest/version.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- data/website/index.html +1 -1
- metadata +1 -1
data/lib/sds-rest.rb
CHANGED
@@ -169,7 +169,17 @@ module SDSRest
|
|
169
169
|
private
|
170
170
|
#execute a request
|
171
171
|
def execute_request(req)
|
172
|
-
|
172
|
+
# http = Net::HTTP.new(get_url)
|
173
|
+
# http.use_ssl = true
|
174
|
+
# http.start {|http|
|
175
|
+
# response = http.request(req)
|
176
|
+
# puts response
|
177
|
+
# response
|
178
|
+
# }
|
179
|
+
#
|
180
|
+
|
181
|
+
|
182
|
+
Net::HTTP.new(get_url).start {|http|
|
173
183
|
response = http.request(req)
|
174
184
|
}
|
175
185
|
end
|
data/lib/sds-rest/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>sds rest</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/sds-rest"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/sds-rest" class="numbers">0.1.
|
36
|
+
<a href="http://rubyforge.org/projects/sds-rest" class="numbers">0.1.4</a>
|
37
37
|
</div>
|
38
38
|
<h1>&#x2192; ‘sds-rest’</h1>
|
39
39
|
<h2>What</h2>
|