Sha256: 9973f9e5fd4e28b0a1c30851bc79c657193dcd6f17ab6e5e0182f016769d55e5

Contents?: true

Size: 1.06 KB

Versions: 12

Compression:

Stored size: 1.06 KB

Contents

#-------------------------------------------------------------------------
# # Copyright (c) Microsoft and contributors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#--------------------------------------------------------------------------

module Azure
  class Client
    include Azure::Configurable
    include Azure::HttpClient
    include Azure::ClientServices

    def initialize(options = {})
      reset!(options)
    end

    # Check if this client is configured with the same options
    def same_options?(opts)
      opts.hash == options.hash
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
azure-0.7.10 lib/azure/client.rb
azure-0.7.9 lib/azure/client.rb
azure-0.7.7 lib/azure/client.rb
azure-0.7.6 lib/azure/client.rb
azure-0.7.5 lib/azure/client.rb
azure-0.7.4 lib/azure/client.rb
azure-0.7.3 lib/azure/client.rb
azure-0.7.1 lib/azure/client.rb
azure-0.7.0 lib/azure/client.rb
azure-0.7.0.pre3 lib/azure/client.rb
azure-fix-0.7.0.pre3 lib/azure/client.rb
azure-0.7.0.pre2 lib/azure/client.rb