vantage-client 0.0.6 → 0.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 243fe9208fe7924d332f6f03b25564d991e66b3d039408005493ac4c7dbfe107
4
- data.tar.gz: 5fc8d08e8ea14bb6653733e7fea7e8628ee41949923e4f64d1615e73284fdf77
3
+ metadata.gz: e6a0af3a45f67d8cf5838279ea6f28953c1e180d0812e24f6b14d5ee9d7f9f7e
4
+ data.tar.gz: cd582ae7e48374a0f74cbc474211620e019f85e15664d3722c59f3fa408db166
5
5
  SHA512:
6
- metadata.gz: 3792d480fac0f037811c53328b460da141a7c6f98b00b0d234a65e013d6bab9e36e9b933fbd2612b825e35e7a2a53b8e74562b287d46f1a46d7fead501fd57c3
7
- data.tar.gz: 24dc77ecc924688bbd0a807339157acd02eceade6e43304ca67cf20d92b9c0d1579b8b7f94ca56466498eadc8a1f63423c22526d4783ab28916f3537b3e1b864
6
+ metadata.gz: 3729a7109b1cfba748b9f14d33013529c0f113b9ff1da8c261fb9b8f08b3fc8063608b6a16c318f754c0492c30e2c2997921a809a47bb6e013399f9b33481eb4
7
+ data.tar.gz: 93393ad7d1d35997e91aa6cd7f4299c3797dc7819be7a8c0a8e0b0f8d258870475c5672f936aa821501fa8d0d3fcda0988625b571026ac6e2f1ea3fdff9665df
data/docs/PingApi.md CHANGED
@@ -8,7 +8,7 @@ Method | HTTP request | Description
8
8
 
9
9
 
10
10
  # **ping**
11
- > ping
11
+ > String ping
12
12
 
13
13
 
14
14
 
@@ -27,7 +27,8 @@ end
27
27
  api_instance = Vantage::PingApi.new
28
28
 
29
29
  begin
30
- api_instance.ping
30
+ result = api_instance.ping
31
+ p result
31
32
  rescue Vantage::ApiError => e
32
33
  puts "Exception when calling PingApi->ping: #{e}"
33
34
  end
@@ -38,7 +39,7 @@ This endpoint does not need any parameter.
38
39
 
39
40
  ### Return type
40
41
 
41
- nil (empty response body)
42
+ **String**
42
43
 
43
44
  ### Authorization
44
45
 
@@ -47,7 +48,7 @@ nil (empty response body)
47
48
  ### HTTP request headers
48
49
 
49
50
  - **Content-Type**: Not defined
50
- - **Accept**: application/json
51
+ - **Accept**: text/plain
51
52
 
52
53
 
53
54
 
@@ -21,15 +21,15 @@ module Vantage
21
21
  end
22
22
  # This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly.
23
23
  # @param [Hash] opts the optional parameters
24
- # @return [nil]
24
+ # @return [String]
25
25
  def ping(opts = {})
26
- ping_with_http_info(opts)
27
- nil
26
+ data, _status_code, _headers = ping_with_http_info(opts)
27
+ data
28
28
  end
29
29
 
30
30
  # This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly.
31
31
  # @param [Hash] opts the optional parameters
32
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
32
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
33
33
  def ping_with_http_info(opts = {})
34
34
  if @api_client.config.debugging
35
35
  @api_client.config.logger.debug 'Calling API: PingApi.ping ...'
@@ -43,7 +43,7 @@ module Vantage
43
43
  # header parameters
44
44
  header_params = {}
45
45
  # HTTP header 'Accept' (if needed)
46
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
46
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
47
47
 
48
48
  # form parameters
49
49
  form_params = {}
@@ -56,7 +56,8 @@ module Vantage
56
56
  :query_params => query_params,
57
57
  :form_params => form_params,
58
58
  :body => post_body,
59
- :auth_names => auth_names)
59
+ :auth_names => auth_names,
60
+ :return_type => 'String')
60
61
  if @api_client.config.debugging
61
62
  @api_client.config.logger.debug "API called: PingApi#ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
62
63
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.19
11
11
  =end
12
12
 
13
13
  module Vantage
14
- VERSION = '0.0.6'
14
+ VERSION = '0.0.7'
15
15
  end
@@ -35,7 +35,7 @@ describe 'PingApi' do
35
35
  # unit tests for ping
36
36
  # This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \&quot;pong\&quot; if everything is running smoothly.
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [nil]
38
+ # @return [String]
39
39
  describe 'ping test' do
40
40
  it 'should work' do
41
41
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
Binary file
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.0.7
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-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -259,6 +259,7 @@ files:
259
259
  - spec/models/service_spec.rb
260
260
  - spec/models/services_spec.rb
261
261
  - spec/spec_helper.rb
262
+ - vantage-client-0.0.6.gem
262
263
  - vantage-client.gemspec
263
264
  homepage: https://vantage.sh
264
265
  licenses: