apcera 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6272dab2ad45ee5453df2c84ee7ba098ce014d62
4
- data.tar.gz: a68b2ba4fe68aef33459362d56ecbce2037b25f9
3
+ metadata.gz: 345cd0ee7422fa5545714bd13fa302a7524abc6b
4
+ data.tar.gz: 2200416b78450514cc8a63171248953c7ac122e1
5
5
  SHA512:
6
- metadata.gz: c08bd580f989b2e298c6a9b814c749f454ac09122bf9f62ed28229842168229f2bb93cae67534c99c704d7837a3b9e2c7452f66d2d7502c9b1d7a604b2689527
7
- data.tar.gz: fe516b45b631e6ce77eb63f6982f8565bf50543090a97d7fc640b661c089be56c92c69eb9d29994ac5ee440151146760438ef632121e5bef2d1f0c461b0659ef
6
+ metadata.gz: a762fd6947da094eea873f11a338e6be2c80f8dd870e8812978afce13024cfed584e3fcbc782e6732a3894446ad57af2ccc7cc7134fff6db73e93c74bc7910f3
7
+ data.tar.gz: f8c644453c29b3508511304cbe6e94b512daee399c0a5f795fc2c296ee7241e208acfb1ee5bff4d642638a320a880a2ed39df57faa8c0e3f03bf03414a4f02d2
@@ -68,7 +68,7 @@ module Apcera
68
68
  # @param [Hash] opts the optional parameters
69
69
  # @option opts [String] :authorization
70
70
  # @option opts [String] :fqn FQN of service to return.
71
- # @return [nil]
71
+ # @return [Array<Service>]
72
72
  def services_get(opts = {})
73
73
 
74
74
  if Configuration.debugging
@@ -103,16 +103,17 @@ module Apcera
103
103
 
104
104
 
105
105
  auth_names = ['authorization']
106
- @api_client.call_api(:GET, path,
106
+ result = @api_client.call_api(:GET, path,
107
107
  :header_params => header_params,
108
108
  :query_params => query_params,
109
109
  :form_params => form_params,
110
110
  :body => post_body,
111
- :auth_names => auth_names)
111
+ :auth_names => auth_names,
112
+ :return_type => 'Array<Service>')
112
113
  if Configuration.debugging
113
- Configuration.logger.debug "API called: ServicesAndBindingsApi#services_get"
114
+ Configuration.logger.debug "API called: ServicesAndBindingsApi#services_get. Result: #{result.inspect}"
114
115
  end
115
- return nil
116
+ return result
116
117
  end
117
118
 
118
119
  # Creates a new service.
@@ -1,3 +1,3 @@
1
1
  module Apcera
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apcera
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Smith