delphix 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/delphix/version.rb +2 -2
- data/lib/delphix.rb +67 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6438a2c76a0fd92680418e6bb67cc39fcd4f855f
|
4
|
+
data.tar.gz: 2cccc342a30875f8d83e88ef128fd978c294f6c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3081ac03de27b5194252a28e8e7597da9ad476dca192434b164d2511918c58fc22f9c2887c587f3097ccc225a924e4e3943967578c5f13aa08e8e1257bd739a8
|
7
|
+
data.tar.gz: dacbea05f1fd7bfef402e9a7104234327c6caa97f185e65a0b78988b9f7c8f49e957c7f0c8946075d3050eb22e639bad813411b54edb7e51edfb3082c39592ba
|
data/lib/delphix/version.rb
CHANGED
data/lib/delphix.rb
CHANGED
@@ -149,37 +149,95 @@ module Delphix
|
|
149
149
|
type: 'LoginRequest', username: user, password: passwd
|
150
150
|
end
|
151
151
|
|
152
|
-
# @!method
|
152
|
+
# @!method alert
|
153
153
|
# A helper method to return the URL for the resource by using the
|
154
154
|
# resource_url shorthand.
|
155
|
-
# @return [String] The API path to
|
155
|
+
# @return [String] The API path to alert.
|
156
156
|
#
|
157
|
-
# @!method
|
157
|
+
# @!method container
|
158
158
|
# A helper method to return the URL for the resource by using the
|
159
159
|
# resource_url shorthand.
|
160
|
-
# @return [String] The API path to
|
160
|
+
# @return [String] The API path to container.
|
161
|
+
#
|
162
|
+
# @!method database
|
163
|
+
# A helper method to return the URL for the resource by using the
|
164
|
+
# resource_url shorthand.
|
165
|
+
# @return [String] The API path to database.
|
161
166
|
#
|
162
167
|
# @!method environment
|
163
168
|
# A helper method to return the URL for the resource by using the
|
164
169
|
# resource_url shorthand.
|
165
170
|
# @return [String] The API path to environment.
|
166
171
|
#
|
167
|
-
# @!method
|
172
|
+
# @!method group
|
168
173
|
# A helper method to return the URL for the resource by using the
|
169
174
|
# resource_url shorthand.
|
170
|
-
# @return [String] The API path to
|
175
|
+
# @return [String] The API path to group.
|
171
176
|
#
|
172
|
-
# @!method
|
177
|
+
# @!method host
|
173
178
|
# A helper method to return the URL for the resource by using the
|
174
179
|
# resource_url shorthand.
|
175
|
-
# @return [String] The API path to
|
180
|
+
# @return [String] The API path to host.
|
181
|
+
#
|
182
|
+
# @!method job
|
183
|
+
# A helper method to return the URL for the resource by using the
|
184
|
+
# resource_url shorthand.
|
185
|
+
# @return [String] The API path to job.
|
186
|
+
#
|
187
|
+
# @!method login
|
188
|
+
# A helper method to return the URL for the resource by using the
|
189
|
+
# resource_url shorthand.
|
190
|
+
# @return [String] The API path to login.
|
191
|
+
#
|
192
|
+
# @!method policy
|
193
|
+
# A helper method to return the URL for the resource by using the
|
194
|
+
# resource_url shorthand.
|
195
|
+
# @return [String] The API path to policy.
|
196
|
+
#
|
197
|
+
# @!method repository
|
198
|
+
# A helper method to return the URL for the resource by using the
|
199
|
+
# resource_url shorthand.
|
200
|
+
# @return [String] The API path to repository.
|
201
|
+
#
|
202
|
+
# @!method session
|
203
|
+
# A helper method to return the URL for the resource by using the
|
204
|
+
# resource_url shorthand.
|
205
|
+
# @return [String] The API path to session.
|
206
|
+
#
|
207
|
+
# @!method snapshot
|
208
|
+
# A helper method to return the URL for the resource by using the
|
209
|
+
# resource_url shorthand.
|
210
|
+
# @return [String] The API path to snapshot.
|
176
211
|
#
|
177
212
|
# @!method source
|
178
213
|
# A helper method to return the URL for the resource by using the
|
179
214
|
# resource_url shorthand.
|
180
215
|
# @return [String] The API path to source.
|
181
216
|
#
|
182
|
-
|
217
|
+
# @!method sourceconfig
|
218
|
+
# A helper method to return the URL for the resource by using the
|
219
|
+
# resource_url shorthand.
|
220
|
+
# @return [String] The API path to sourceconfig.
|
221
|
+
#
|
222
|
+
# @!method template
|
223
|
+
# A helper method to return the URL for the resource by using the
|
224
|
+
# resource_url shorthand.
|
225
|
+
# @return [String] The API path to template.
|
226
|
+
#
|
227
|
+
# @!method timeflow
|
228
|
+
# A helper method to return the URL for the resource by using the
|
229
|
+
# resource_url shorthand.
|
230
|
+
# @return [String] The API path to timeflow.
|
231
|
+
#
|
232
|
+
# @!method user
|
233
|
+
# A helper method to return the URL for the resource by using the
|
234
|
+
# resource_url shorthand.
|
235
|
+
# @return [String] The API path to user.
|
236
|
+
#
|
237
|
+
[ :alert, :container, :database, :environment, :group, :host, :job,
|
238
|
+
:login, :policy, :repository, :session, :snapshot, :source,
|
239
|
+
:sourceconfig, :template, :timeflow :user
|
240
|
+
].each do |name|
|
183
241
|
define_singleton_method(name.to_s + '_url') do
|
184
242
|
api_url('/resources/json/delphix/' + name.to_s)
|
185
243
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delphix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Harding
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hoodie
|