vantage-client 0.0.6 → 0.1.0

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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +70 -0
  3. data/README.md +121 -61
  4. data/docs/Cost.md +11 -0
  5. data/docs/Costs.md +11 -0
  6. data/docs/CostsApi.md +177 -0
  7. data/docs/PingApi.md +5 -4
  8. data/docs/PricesApi.md +30 -7
  9. data/docs/Report.md +13 -0
  10. data/docs/Reports.md +9 -0
  11. data/lib/vantage-client.rb +6 -1
  12. data/lib/vantage-client/api/costs_api.rb +185 -0
  13. data/lib/vantage-client/api/ping_api.rb +9 -8
  14. data/lib/vantage-client/api/prices_api.rb +25 -1
  15. data/lib/vantage-client/api_client.rb +1 -1
  16. data/lib/vantage-client/api_error.rb +1 -1
  17. data/lib/vantage-client/configuration.rb +1 -1
  18. data/lib/vantage-client/models/cost.rb +215 -0
  19. data/lib/vantage-client/models/costs.rb +216 -0
  20. data/lib/vantage-client/models/price.rb +1 -1
  21. data/lib/vantage-client/models/prices.rb +1 -1
  22. data/lib/vantage-client/models/product.rb +1 -1
  23. data/lib/vantage-client/models/products.rb +1 -1
  24. data/lib/vantage-client/models/provider.rb +1 -1
  25. data/lib/vantage-client/models/providers.rb +1 -1
  26. data/lib/vantage-client/models/report.rb +235 -0
  27. data/lib/vantage-client/models/reports.rb +196 -0
  28. data/lib/vantage-client/models/service.rb +1 -1
  29. data/lib/vantage-client/models/services.rb +1 -1
  30. data/lib/vantage-client/version.rb +2 -2
  31. data/spec/.DS_Store +0 -0
  32. data/spec/api/costs_api_spec.rb +73 -0
  33. data/spec/api/ping_api_spec.rb +3 -3
  34. data/spec/api/prices_api_spec.rb +9 -1
  35. data/spec/api_client_spec.rb +1 -1
  36. data/spec/configuration_spec.rb +1 -1
  37. data/spec/models/cost_spec.rb +59 -0
  38. data/spec/models/costs_spec.rb +59 -0
  39. data/spec/models/price_spec.rb +1 -1
  40. data/spec/models/prices_spec.rb +1 -1
  41. data/spec/models/product_spec.rb +1 -1
  42. data/spec/models/products_spec.rb +1 -1
  43. data/spec/models/provider_spec.rb +1 -1
  44. data/spec/models/providers_spec.rb +1 -1
  45. data/spec/models/report_spec.rb +71 -0
  46. data/spec/models/reports_spec.rb +47 -0
  47. data/spec/models/service_spec.rb +1 -1
  48. data/spec/models/services_spec.rb +1 -1
  49. data/spec/spec_helper.rb +1 -1
  50. data/vantage-client-0.1.0.beta.1.gem +0 -0
  51. data/vantage-client-0.1.0.beta.2.gem +0 -0
  52. data/vantage-client.gemspec +1 -1
  53. metadata +26 -2
@@ -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
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
  Contact: support@vantage.sh
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.19
9
+ Swagger Codegen version: 2.4.21
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
  Contact: support@vantage.sh
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.19
9
+ Swagger Codegen version: 2.4.21
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
  Contact: support@vantage.sh
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.19
9
+ Swagger Codegen version: 2.4.21
10
10
 
11
11
  =end
12
12
 
Binary file
Binary file
@@ -8,7 +8,7 @@
8
8
  OpenAPI spec version: 1.0.0
9
9
  Contact: support@vantage.sh
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.4.19
11
+ Swagger Codegen version: 2.4.21
12
12
 
13
13
  =end
14
14
 
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.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-08-17 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,52 @@ 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
280
+ - vantage-client-0.1.0.beta.2.gem
262
281
  - vantage-client.gemspec
263
282
  homepage: https://vantage.sh
264
283
  licenses:
@@ -285,15 +304,20 @@ specification_version: 4
285
304
  summary: Vantage API Client
286
305
  test_files:
287
306
  - spec/api/ping_api_spec.rb
307
+ - spec/api/costs_api_spec.rb
288
308
  - spec/api/prices_api_spec.rb
289
309
  - spec/api_client_spec.rb
290
310
  - spec/configuration_spec.rb
311
+ - spec/models/report_spec.rb
312
+ - spec/models/costs_spec.rb
291
313
  - spec/models/product_spec.rb
314
+ - spec/models/cost_spec.rb
292
315
  - spec/models/prices_spec.rb
293
316
  - spec/models/providers_spec.rb
294
317
  - spec/models/service_spec.rb
295
318
  - spec/models/products_spec.rb
296
319
  - spec/models/price_spec.rb
320
+ - spec/models/reports_spec.rb
297
321
  - spec/models/provider_spec.rb
298
322
  - spec/models/services_spec.rb
299
323
  - spec/spec_helper.rb