Method: Azure::Core::Http::HTTPError#inspect

Defined in:
lib/azure/core/http/http_error.rb

#inspectObject



127
128
129
130
131
# File 'lib/azure/core/http/http_error.rb', line 127

def inspect
  string = "#<#{self.class.name}:#{self.object_id} "
  fields = self.instance_variables.map{|field| "#{field}: #{self.send(field.to_s.delete("@")).inspect}"}
  string << fields.join(", ") << ">"
end