class MsRestAzure::TypedErrorInfo
Class which represents the error type and information.
Attributes
info[RW]
@return [Object] the error info parsed from the body of the http error response.
type[RW]
@return [String] the error type parsed from the body of the http error response.
Public Class Methods
deserialize_object(object)
click to toggle source
Deserializes given hash into TypedErrorInfo
object. @param object [Hash] object to deserialize.
@return [TypedErrorInfo] deserialized object.
# File lib/ms_rest_azure/typed_error_info.rb, line 22 def self.deserialize_object(object) return if object.nil? output_object = TypedErrorInfo.new output_object.type = object['type'] output_object.info = object['info'] output_object end