vantage-client 0.0.6 → 0.1.0.beta.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/README.md +121 -61
- data/docs/Cost.md +11 -0
- data/docs/Costs.md +11 -0
- data/docs/CostsApi.md +177 -0
- data/docs/PingApi.md +5 -4
- data/docs/PricesApi.md +30 -7
- data/docs/Report.md +13 -0
- data/docs/Reports.md +9 -0
- data/lib/vantage-client.rb +6 -1
- data/lib/vantage-client/api/costs_api.rb +185 -0
- data/lib/vantage-client/api/ping_api.rb +9 -8
- data/lib/vantage-client/api/prices_api.rb +25 -1
- data/lib/vantage-client/api_client.rb +1 -1
- data/lib/vantage-client/api_error.rb +1 -1
- data/lib/vantage-client/configuration.rb +1 -1
- data/lib/vantage-client/models/cost.rb +215 -0
- data/lib/vantage-client/models/costs.rb +216 -0
- data/lib/vantage-client/models/price.rb +1 -1
- data/lib/vantage-client/models/prices.rb +1 -1
- data/lib/vantage-client/models/product.rb +1 -1
- data/lib/vantage-client/models/products.rb +1 -1
- data/lib/vantage-client/models/provider.rb +1 -1
- data/lib/vantage-client/models/providers.rb +1 -1
- data/lib/vantage-client/models/report.rb +235 -0
- data/lib/vantage-client/models/reports.rb +196 -0
- data/lib/vantage-client/models/service.rb +1 -1
- data/lib/vantage-client/models/services.rb +1 -1
- data/lib/vantage-client/version.rb +2 -2
- data/spec/.DS_Store +0 -0
- data/spec/api/costs_api_spec.rb +73 -0
- data/spec/api/ping_api_spec.rb +3 -3
- data/spec/api/prices_api_spec.rb +9 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/cost_spec.rb +59 -0
- data/spec/models/costs_spec.rb +59 -0
- data/spec/models/price_spec.rb +1 -1
- data/spec/models/prices_spec.rb +1 -1
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/products_spec.rb +1 -1
- data/spec/models/provider_spec.rb +1 -1
- data/spec/models/providers_spec.rb +1 -1
- data/spec/models/report_spec.rb +71 -0
- data/spec/models/reports_spec.rb +47 -0
- data/spec/models/service_spec.rb +1 -1
- data/spec/models/services_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vantage-client-0.1.0.beta.1.gem +0 -0
- data/vantage-client.gemspec +1 -1
- metadata +27 -4
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Vantage
|
3
|
+
|
4
|
+
#Vantage API
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
Contact: support@vantage.sh
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Vantage::Reports
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Reports' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Vantage::Reports.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Reports' do
|
31
|
+
it 'should create an instance of Reports' do
|
32
|
+
expect(@instance).to be_instance_of(Vantage::Reports)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "links"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "reports"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/spec/models/service_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
Binary file
|
data/vantage-client.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vantage-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.1.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -218,8 +218,12 @@ extensions: []
|
|
218
218
|
extra_rdoc_files: []
|
219
219
|
files:
|
220
220
|
- Gemfile
|
221
|
+
- Gemfile.lock
|
221
222
|
- README.md
|
222
223
|
- Rakefile
|
224
|
+
- docs/Cost.md
|
225
|
+
- docs/Costs.md
|
226
|
+
- docs/CostsApi.md
|
223
227
|
- docs/PingApi.md
|
224
228
|
- docs/Price.md
|
225
229
|
- docs/Prices.md
|
@@ -228,37 +232,51 @@ files:
|
|
228
232
|
- docs/Products.md
|
229
233
|
- docs/Provider.md
|
230
234
|
- docs/Providers.md
|
235
|
+
- docs/Report.md
|
236
|
+
- docs/Reports.md
|
231
237
|
- docs/Service.md
|
232
238
|
- docs/Services.md
|
233
239
|
- git_push.sh
|
234
240
|
- lib/vantage-client.rb
|
241
|
+
- lib/vantage-client/api/costs_api.rb
|
235
242
|
- lib/vantage-client/api/ping_api.rb
|
236
243
|
- lib/vantage-client/api/prices_api.rb
|
237
244
|
- lib/vantage-client/api_client.rb
|
238
245
|
- lib/vantage-client/api_error.rb
|
239
246
|
- lib/vantage-client/configuration.rb
|
247
|
+
- lib/vantage-client/models/cost.rb
|
248
|
+
- lib/vantage-client/models/costs.rb
|
240
249
|
- lib/vantage-client/models/price.rb
|
241
250
|
- lib/vantage-client/models/prices.rb
|
242
251
|
- lib/vantage-client/models/product.rb
|
243
252
|
- lib/vantage-client/models/products.rb
|
244
253
|
- lib/vantage-client/models/provider.rb
|
245
254
|
- lib/vantage-client/models/providers.rb
|
255
|
+
- lib/vantage-client/models/report.rb
|
256
|
+
- lib/vantage-client/models/reports.rb
|
246
257
|
- lib/vantage-client/models/service.rb
|
247
258
|
- lib/vantage-client/models/services.rb
|
248
259
|
- lib/vantage-client/version.rb
|
260
|
+
- spec/.DS_Store
|
261
|
+
- spec/api/costs_api_spec.rb
|
249
262
|
- spec/api/ping_api_spec.rb
|
250
263
|
- spec/api/prices_api_spec.rb
|
251
264
|
- spec/api_client_spec.rb
|
252
265
|
- spec/configuration_spec.rb
|
266
|
+
- spec/models/cost_spec.rb
|
267
|
+
- spec/models/costs_spec.rb
|
253
268
|
- spec/models/price_spec.rb
|
254
269
|
- spec/models/prices_spec.rb
|
255
270
|
- spec/models/product_spec.rb
|
256
271
|
- spec/models/products_spec.rb
|
257
272
|
- spec/models/provider_spec.rb
|
258
273
|
- spec/models/providers_spec.rb
|
274
|
+
- spec/models/report_spec.rb
|
275
|
+
- spec/models/reports_spec.rb
|
259
276
|
- spec/models/service_spec.rb
|
260
277
|
- spec/models/services_spec.rb
|
261
278
|
- spec/spec_helper.rb
|
279
|
+
- vantage-client-0.1.0.beta.1.gem
|
262
280
|
- vantage-client.gemspec
|
263
281
|
homepage: https://vantage.sh
|
264
282
|
licenses:
|
@@ -275,9 +293,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
293
|
version: '1.9'
|
276
294
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
295
|
requirements:
|
278
|
-
- - "
|
296
|
+
- - ">"
|
279
297
|
- !ruby/object:Gem::Version
|
280
|
-
version:
|
298
|
+
version: 1.3.1
|
281
299
|
requirements: []
|
282
300
|
rubygems_version: 3.2.3
|
283
301
|
signing_key:
|
@@ -285,15 +303,20 @@ specification_version: 4
|
|
285
303
|
summary: Vantage API Client
|
286
304
|
test_files:
|
287
305
|
- spec/api/ping_api_spec.rb
|
306
|
+
- spec/api/costs_api_spec.rb
|
288
307
|
- spec/api/prices_api_spec.rb
|
289
308
|
- spec/api_client_spec.rb
|
290
309
|
- spec/configuration_spec.rb
|
310
|
+
- spec/models/report_spec.rb
|
311
|
+
- spec/models/costs_spec.rb
|
291
312
|
- spec/models/product_spec.rb
|
313
|
+
- spec/models/cost_spec.rb
|
292
314
|
- spec/models/prices_spec.rb
|
293
315
|
- spec/models/providers_spec.rb
|
294
316
|
- spec/models/service_spec.rb
|
295
317
|
- spec/models/products_spec.rb
|
296
318
|
- spec/models/price_spec.rb
|
319
|
+
- spec/models/reports_spec.rb
|
297
320
|
- spec/models/provider_spec.rb
|
298
321
|
- spec/models/services_spec.rb
|
299
322
|
- spec/spec_helper.rb
|