azure_mgmt_subscriptions 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: 86a371591f0e9bb1f22cb10cf2c755eaec935736
4
- data.tar.gz: ce8f7ef251e89e1d689ab77958c74d5d6f50b1d6
3
+ metadata.gz: 11e3ee50d3461533eda9b66ae7576a6bd6dcab4d
4
+ data.tar.gz: e9bed71e08ec476af0cc8a6faf661f8bea743b9c
5
5
  SHA512:
6
- metadata.gz: 29e78462f6a904ccfbc38d066415fd0fa8f3809d1dad66138629f9070149ead1f1c28c99e95ddc602fd25e3f740793db2ef46b32042bb41cb71a490b52ad136a
7
- data.tar.gz: 22721f80a6510886c56b4ac53e8b78d23047900e947b65b4dee838478d610337f67ab14c513136a408c08e73f9673b442fb553e07848f7e389ececab62e7253f
6
+ metadata.gz: 2bdea1d39321658cc6721f0217347e73b8aa1fbb9acb6a864def33c035e74785b2d2274b2751c66bceaa7cfec86585dce5fa5751965918655b61f3745cce3101
7
+ data.tar.gz: 752fa7796052b5fcefb8acb48f7853beb6f30ab37250a207dd0d6dd42ebd43d514d3430ba670e72252ea99901c7eda95f84594fff29ccb8135ead40ee08cc78b
@@ -43,12 +43,11 @@ module Azure::ARM::Subscriptions
43
43
  # @param base_url [String] the base URI of the service.
44
44
  # @param options [Array] filters to be applied to the HTTP requests.
45
45
  #
46
- def initialize(credentials, base_url = nil, options = nil)
46
+ def initialize(credentials = nil, base_url = nil, options = nil)
47
47
  super(credentials, options)
48
48
  @base_url = base_url || 'https://management.azure.com'
49
49
 
50
- fail ArgumentError, 'credentials is nil' if credentials.nil?
51
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
50
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
52
51
  @credentials = credentials
53
52
 
54
53
  @subscriptions = Subscriptions.new(self)
@@ -62,7 +61,7 @@ module Azure::ARM::Subscriptions
62
61
 
63
62
  #
64
63
  # Makes a request and returns the body of the response.
65
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
64
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
66
65
  # @param path [String] the path, relative to {base_url}.
67
66
  # @param options [Hash{String=>String}] specifying any request options like :body.
68
67
  # @return [Hash{String=>String}] containing the body of the response.
@@ -123,7 +122,7 @@ module Azure::ARM::Subscriptions
123
122
  def add_telemetry
124
123
  sdk_information = 'azure_mgmt_subscriptions'
125
124
  if defined? Azure::ARM::Subscriptions::VERSION
126
- sdk_information = "#{sdk_information}/#{Azure::ARM::Subscriptions::VERSION}"
125
+ sdk_information = "#{sdk_information}/#{Azure::ARM::Subscriptions::VERSION}"
127
126
  end
128
127
  add_user_agent_information(sdk_information)
129
128
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Subscriptions
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
@@ -25,13 +25,13 @@ module Azure::ARM::Subscriptions
25
25
  autoload :SubscriptionClient, 'generated/azure_mgmt_subscriptions/subscription_client.rb'
26
26
 
27
27
  module Models
28
- autoload :SubscriptionPolicies, 'generated/azure_mgmt_subscriptions/models/subscription_policies.rb'
28
+ autoload :Subscription, 'generated/azure_mgmt_subscriptions/models/subscription.rb'
29
29
  autoload :SubscriptionListResult, 'generated/azure_mgmt_subscriptions/models/subscription_list_result.rb'
30
30
  autoload :LocationListResult, 'generated/azure_mgmt_subscriptions/models/location_list_result.rb'
31
31
  autoload :TenantIdDescription, 'generated/azure_mgmt_subscriptions/models/tenant_id_description.rb'
32
32
  autoload :Location, 'generated/azure_mgmt_subscriptions/models/location.rb'
33
33
  autoload :TenantListResult, 'generated/azure_mgmt_subscriptions/models/tenant_list_result.rb'
34
- autoload :Subscription, 'generated/azure_mgmt_subscriptions/models/subscription.rb'
34
+ autoload :SubscriptionPolicies, 'generated/azure_mgmt_subscriptions/models/subscription_policies.rb'
35
35
  autoload :SubscriptionState, 'generated/azure_mgmt_subscriptions/models/subscription_state.rb'
36
36
  autoload :SpendingLimit, 'generated/azure_mgmt_subscriptions/models/spending_limit.rb'
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_subscriptions
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 Subscription Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []