class Google::Auth::ServiceAccountCredentials
def self.unescape str
Specifically, interprets the "\n" sequence for newline, and removes
Handles certain escape sequences that sometimes appear in input.
def self.unescape str str = str.gsub '\n', "\n" str = str[1..-2] if str.start_with?('"') && str.end_with?('"') str end