rest_connection 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rest_connection/rightscale/server.rb +5 -0
- data/rest_connection.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.15
|
@@ -167,6 +167,11 @@ class Server
|
|
167
167
|
connection.put(serv_href.path, :server => {:parameters => {name.to_sym => value} })
|
168
168
|
end
|
169
169
|
|
170
|
+
def set_inputs(hash)
|
171
|
+
serv_href = URI.parse(self.href)
|
172
|
+
connection.put(serv_href.path, :server => {:parameters => hash})
|
173
|
+
end
|
174
|
+
|
170
175
|
def set_template(href)
|
171
176
|
serv_href = URI.parse(self.href)
|
172
177
|
connection.put(serv_href.path, :server => {:server_template_href => href})
|
data/rest_connection.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 15
|
10
|
+
version: 0.0.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeremy Deininger
|