class HTTP::Response

def parse(as = nil)

Returns:
  • (Object) -

Raises:
  • (HTTP::Error) - if adapter not found

Parameters:
  • as (#to_s) -- Parse as given MIME type
def parse(as = nil)
  MimeType[as || mime_type].decode to_s
end