This file is indexed.

/usr/lib/ruby/vendor_ruby/ms_rest_azure/cloud_error_data.rb is in ruby-ms-rest-azure 0.6.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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