Sha256: 7d9f3961dfaa78de74482e43a1078ccc68e1b0aef2740d1793b46552e349a1f9
Contents?: true
Size: 939 Bytes
Versions: 28
Compression:
Stored size: 939 Bytes
Contents
# encoding: utf-8 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. module MsRestAzure # # Class which represents keeps aux data about Azure invalid response. # class CloudErrorData # @return [String] the error code parsed from the body of the http error response. attr_accessor :code # @return [String] the error message parsed from the body of the http error response. attr_accessor :message # # Deserializes given hash into CloudErrorData object. # @param object [Hash] object to deserialize. # # @return [CloudErrorData] deserialized object. def self.deserialize_object(object) return if object.nil? output_object = CloudErrorData.new output_object.code = object['code'] output_object.message = object['message'] output_object end end end
Version data entries
28 entries across 28 versions & 1 rubygems