azure_mgmt_traffic_manager 0.8.0 → 0.9.0

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: 62b7d2315f122debe2a1e7f7feed8b8da2256e11
4
- data.tar.gz: ab00540251f14730d10c1254e8ec196de52e9d7d
3
+ metadata.gz: 4bac3f2c5232a4e54cb0dcf1a4474a7d1ccd5722
4
+ data.tar.gz: 8b132a45e687c1b526345998c9ce7355f67c080c
5
5
  SHA512:
6
- metadata.gz: 399ff11fb98280433fb345bab7877dcd9494e92257a80643576eadb3faf9cf74f1b2534e1878353f9651c3020fc70b72420ae682df5bee9c26e264ff3e65e78f
7
- data.tar.gz: 5a7cb5963603076053c430995892f75b924cd9514aecbbc6ce40480a51c4b06f425602aa97abc8089ff1e02e4afe5067b380704eb7ce32b0861c4c6a96dd43a5
6
+ metadata.gz: 9d70f504b6a089564d85eb2de6b7fce457311573f7044ef5045a284a01fda96ca27bf6e2c156553df226cf2143b76e648d9778981d132e3cb8b36b94c644cdf3
7
+ data.tar.gz: 29faf3c721b9dc6ab457bef1d47f08b89cf7dd4689228818d44e6424cff0d5cc76698bdf1be3e6eff1fe7b318d5da31fe671976659b7f24cfb4e336dc1f68c5e
@@ -48,12 +48,11 @@ module Azure::ARM::TrafficManager
48
48
  # @param base_url [String] the base URI of the service.
49
49
  # @param options [Array] filters to be applied to the HTTP requests.
50
50
  #
51
- def initialize(credentials, base_url = nil, options = nil)
51
+ def initialize(credentials = nil, base_url = nil, options = nil)
52
52
  super(credentials, options)
53
53
  @base_url = base_url || 'https://management.azure.com'
54
54
 
55
- fail ArgumentError, 'credentials is nil' if credentials.nil?
56
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
55
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
57
56
  @credentials = credentials
58
57
 
59
58
  @endpoints = Endpoints.new(self)
@@ -67,7 +66,7 @@ module Azure::ARM::TrafficManager
67
66
 
68
67
  #
69
68
  # Makes a request and returns the body of the response.
70
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
69
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
71
70
  # @param path [String] the path, relative to {base_url}.
72
71
  # @param options [Hash{String=>String}] specifying any request options like :body.
73
72
  # @return [Hash{String=>String}] containing the body of the response.
@@ -128,7 +127,7 @@ module Azure::ARM::TrafficManager
128
127
  def add_telemetry
129
128
  sdk_information = 'azure_mgmt_traffic_manager'
130
129
  if defined? Azure::ARM::TrafficManager::VERSION
131
- sdk_information = "#{sdk_information}/#{Azure::ARM::TrafficManager::VERSION}"
130
+ sdk_information = "#{sdk_information}/#{Azure::ARM::TrafficManager::VERSION}"
132
131
  end
133
132
  add_user_agent_information(sdk_information)
134
133
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::TrafficManager
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_traffic_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.2
75
+ version: 0.7.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.6.2
82
+ version: 0.7.0
83
83
  description: Microsoft Azure Traffic Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []